<track>
HTML <track> Element Reference
The HTML <track> element attaches timed text such as captions or subtitles to media.
Categories
- Embedded content
Tag omission
This is a void element and does not have an end tag.
Content model
- Detailed content-model guidance will be added to this reference.
Attributes
Examples
Example
A practical track element example.
<video controls src="talk.mp4">
<track kind="captions" src="captions-en.vtt" srclang="en" label="English">
</video>