+ 3
Can any explain the <track> tag?
Does it need to be closed? Also,if anyone can explain the attributes and their values in track tag
3 Answers
+ 6
The HTML <track> element is used as a child of the media elements <audio> and <video> . It lets you specify timed text tracks (or time-based data), for example to automatically handle subtitles. The tracks are formatted in WebVTT format ( .vtt files) â Web Video Text Tracks.
The <track> tag specifies text tracks for media elements (<audio> and <video>). Browser Support. The numbers in the table specify the first browser version that fully supports the element. Differences Between HTML 4.01 and HTML5. Global Attributes. Event Attributes.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track
+ 1
I just know that it specifies text tracks for media elements.
+ 1
Can u explain about attributes??