< All the HTML Tags >

<track></track>

Video Coming Soon...

  • track

    Tag Type

    inline

    Tag Category

    media

    Defines text tracks for media elements

    Viewed

    1

    Examples

    1

Definition:

The HTML <track> tag is used to specify text tracks for <video> and <audio> elements, such as subtitles or captions.

Attributes like kind, src, and srclang define the track's type and language, improving accessibility and user engagement.

Incorporating the `<track>` tag effectively enhances multimedia content and ensures it is accessible to all users.

Attributes:

default, kind, label, src, srclang, Global attributes (e.g., class, id, style)

Accessibility:

Coming Soon…

Default track Example:

Using the <track> tag to add captions to a video.
<track kind="subtitles" src="subtitles_en.vtt" srclang="en" label="English">

Default track Result:


Coming Soon…

Community Examples:

Coming Soon…
Coming Soon…