confi-emacs-inicial/elpa/ac-html-20151005.731/completion-data/html-tag-short-docs/track

20 lines
890 B
Plaintext

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 automaticaly handle subtitles.
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.
A media element cannot have more than one track with the same kind, srclang, and label.
Content categories:
None.
Permitted content:
None, it is an empty element.
Tag omission:
As it is a void element, the start tag must be present and the end tag must not be present.
Permitted parent elements:
A media element, before any flow content.
DOM interface
This element implements the HTMLTrackElement interface.