Hi guys, I’m currently learning HTML, CSS & GitHub course
There’s a few questions I’m stuck with I’ve tried to research for the answers, but I still do not get the reasoning behind. Can someone help me out, please?
- Why can’t I just add Alt attribute into video tag, same way as image tag
I understand the IMG tag, but for video tag I don’t. Presumably, an Alt attribute is displayed if an image doesn’t load why can’t I place it same way as IMG tag in this manner
<Video src="xxxx" width="xxxx" height ="xxxx" alt="xxxx"> </video>
- Why don’t I need to specify a control attribute? Like so far all the attribute has reference e.g. width attribute, height attribute, ID attribute?
Like all the other attribute has:
why isn’t there a specific reference to controls