Can we use an alt attribute with the video tag?

Can you elaborate on this? Thank you :smiley:And In this case that alt attribute is not valid for video element, what if a blind person or a search bot comes across this video? How can they know this video is about flower blooming?

Use a title attribute, instead.

Also keep in mind that bots can read the file header of images and videos. Those headers are editable in most image/video editors. Mind, we don’t cover that here.

Are blind persons likely to watch a video? An alternative would be an audio file.

1 Like

I have a question about the width and height of the video attribute. How do we decide the width and height? Is it fixed at width “320” and height “240”?

1 Like

I am also curious about this.

Make sense. Thank you…