track

英[træk] 美[træk]

n. Path, trail; trace, trace; track, track; policy, route

vt. Track; track; monitor, monitor

vi. Advance along the track; go along a road, travel; be in a queue

html5 tag syntax

Function: The tag specifies an external text track for media such as video elements.

is used to specify subtitle files or other files containing text that are visible when the media is played.

Parameters:

Properties Value Description
default default Specifies that this track is the default if no track is selected.
kind

captions

chapters

descriptions

metadata

subtitles

indicates what text type the track belongs to.
label label The label or title of the track.
src url The URL of the track.
srclang language_code The language of the track. This attribute is required if the kind attribute value is "subtitles".

html5 tag example