The track
element is used as a child of the media elements—<audio>
and <video>
—and does not represent anything on its own. It lets you specify timed text tracks (or time-based data).
The type of data that track
adds to the media is set in the kind
attribute, which can take values of subtitles
, captions
, descriptions
, chapters
or metadata
. The element points to a source file containing timed text that the browser exposes when the user requests additional data.
track
element per media element.