In HTML, What Is a Video Tag?

<video> is a new tag in HTML 5.

video

(New tag in HTML 5)

The <video> element supports three video formats: MP4, WebM, Ogg. [1]
format
MIME-type
MP4
video / mp4
WebM
video / webm
Ogg
video / ogg
Tip: You can place text content between the <video> and </ video> tags so that browsers that don't support the <video> element can display information about the tag. [1]
Attributes
value
description
autoplay
autoplay
If this attribute appears, the video plays as soon as it is ready.
<video> tag support
The <video> tag supports event attributes for HTML.

IN OTHER LANGUAGES

Was this article helpful? Thanks for the feedback Thanks for the feedback

How can we help? How can we help?