Skip to main content

html-tags.com

<track>

Timed text for media: captions, subtitles, descriptions, chapters.

Baseline: Widely available · Media & embedded content

When to use it

kind='captions' with srclang and label on every video containing speech; default preselects one.

When not to

Subtitles translate; captions also transcribe sound effects — pick the kind honestly.

Key attributes

kind
captions | subtitles | descriptions | chapters | metadata
src
WebVTT file
srclang / label / default

Example

<track kind='captions' src='/media/intro.en.vtt' srclang='en' label='English' default>
Source — this snippet needs a fuller context to render.

Authoritative references