HTML · Links and media

track

Adds timed text tracks such as captions, subtitles and descriptions to video or audio.

Syntax
<track kind="captions" …>

Example

Try it

More in this group

a area audio canvas embed figcaption figure iframe

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course