HTML <track> Tag - Video or Audio Tracks

 

ATTENTION: THIS PAGE IS Valid HTML 5 AND IS BEST VIEWED WITH HTML 5 - Please upgrade your browser or download one of the HTML 5 compatible browsers such as Mozilla Firefox, Chrome, Opera or IE 9 (March 14, 2011 or later). For more information see HTML 5 browsers.


If you find this helpful, please click the Google +1 Button to the left, if it is white, to make it turn blue or red. Thank you! (It also helps find this page again more easily.)


PDF mobile

The <track> Tag in HTML 5

The <track> tag is used to specify the position of the beginning of a track of audio or a chapter of video. One or more track elements may be nested under one of the media elements, namely an <audio> tag or a <video> tag. Its use is optional.


<track> Tag Syntax

Rules for coding HTML track elements
Rules for coding the HTML track element

<track> Tag Attributes

Attributes of the <track> tag
global attributes In addition to the personal attributes of the <track> tag below, any of the common HTML attributes can also be coded.
default
kind
label
src
srclang

<track> Tag Examples

Examples of the track tag in HTML 5

Changes in HTML 5 - <track> Tag

What's new in HTML 5
Differences between HTML 5 and earlier versions of HTML

Valid HTML 5