The kind attribute on <track> tells the browser how a timed text file is meant to be used — subtitles, captions, descriptions, chapters, or metadata. Place <track> inside <video> or <audio> and point src at a WebVTT (.vtt) file.
Pair it with srclang (required when kind="subtitles"), a human-readable label, and optionally default so one track starts enabled.
Baseline · Widely available.
Not deprecated and not experimental. Stable across modern browsers since about July 2015 with the HTML <track> element.
Omit or mistype carefully.
Missing kind defaults to subtitles. An invalid value is treated as metadata (not shown as normal captions).
Pick a kind, then play the video and open the player’s captions/CC menu. The track below updates to match.
Same .vtt file; only kind (and the menu label) change so you can compare roles.
Video + track
kind="subtitles" — dialogue when audio is available but not understood.
Code
HTML Examples
Short, copy-ready snippets. Use Try It Yourself for a live editor.
Example 1 — Subtitles Track
Add an English WebVTT track with kind="subtitles" and mark it default.
HTML
<video controls width="320">
<source src="/video/count.mp4" type="video/mp4">
<track
kind="subtitles"
src="/video/count.vtt"
srclang="en"
label="English"
default>
Your browser does not support HTML video.
</video>
Open the CC menu to switch between English captions and Spanish subtitles.
How It Works
captions vs subtitles. Captions target missing/hard audio; subtitles target language understanding.
Different files or languages. Separate .vtt + srclang keep tracks distinct.
Unique combo. Do not repeat the same kind + srclang + label on one media element.
One default. Only one track per media element should use default.
Example 3 — Chapters and Metadata
chapters help navigation; metadata is for scripts, not the captions menu.
HTML
<video controls width="320">
<source src="/video/count.mp4" type="video/mp4">
<track
kind="chapters"
src="/video/count.vtt"
srclang="en"
label="Chapters">
<track
kind="metadata"
src="/video/count.vtt"
srclang="en"
label="App cues">
Your browser does not support HTML video.
</video>
Pair with:src, srclang, label, and optionally default.
One line:kind tells the player what your .vtt track is for — pick the keyword that matches the content.
Frequently Asked Questions
On a track element, kind tells the browser how the WebVTT file is meant to be used: subtitles, captions, descriptions, chapters, or metadata.
The track element, as a child of video or audio. It does not apply to source or other media children.
Subtitles translate or transcribe dialogue when audio is available but not understood. Captions also include sound effects and other audio cues for when sound is missing or hard to hear.
If omitted, the default is subtitles. If the value is invalid, the browser treats the track as metadata.
Yes when kind is subtitles — srclang is required. It is also good practice for captions and other spoken tracks so the player can list languages clearly.
Yes. Give each track a clear kind, srclang, and label. A media element must not have two tracks with the same kind, srclang, and label combination.