The <track> element

Represents a source of a timed text track that can be used to accompany an <audio> or <video> element, such as a series of captions or subtitles.

This is an empty element, so it shouldn't have a closing tag.

Full list of attributes

All the usual HTML global attributes are available

default
One track can have this attribute, indicating that it should be used unless the user has said otherwise.
kind
The purpose this text track is meant to fulfill.
label
A title for this text track which can be presented to the user when they're choosing whether to use it or not.
src
The URI of the file containing the textual information.
srclang
The language that the text is written in.

Further information

The Web Design Academy Contact us

By form

By Phone

+44 (0)113 234 4611

By email

enquiries@thewebdesign.academy

By snail mail

Suite 3 15 South Parade Leeds LS1 5PQ United Kingdom