← All terms

HTML5 Track Element

Also known as: <track> Element, Track Tag, HTML Track

The HTML5 <track> element is used to specify timed text tracks for <video> and <audio> elements, providing a standardized way to associate captions, subtitles, descriptions, chapters, and metadata with media content. Each <track> element specifies a kind (captions, subtitles, descriptions, chapters, or metadata), a source file (typically in WebVTT format), a language, and an optional label. Multiple <track> elements can be included to offer different languages or track types, and browsers provide built-in UI for users to select among available tracks. The <track> element emerged from early proposals (including <text> and <itext> elements) discussed during HTML5 standardization, resolving security and naming conflicts that plagued earlier approaches. It is a critical accessibility mechanism, as it enables native browser support for closed captions and other accessibility features without requiring JavaScript libraries or third-party plugins.

Category: HTML · Web Standards · Multimedia Accessibility

Related: WebVTT · Captions · Audio Description · HTML5

Sources