Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML tag

HTML tag

Example

A video with a subtitle track (friday.vtt):

<

video

width

=

"

320

"

height

=

"

240

"

controls

<

video

controls

src

=

"

/video/php/friday.mp4

"

<

track

default

kind

=

"

captions

"

srclang

=

"

en

"

src

=

"

/video/php/friday.vtt

"

/>

Sorry, your browser does not support embedded video!

video

video

Try it »


Browser support

The numbers in the table indicate the first browser version that supports the tag.

Element
23.0 10.0 31.0 6.0 12.1

Tag Definition and Usage Notes

The tag defines media resources for media elements (such as