The track HTML element allows authors to specify explicit external text resources for media elements.
HTML
<track attribute-name="attribute-value"></track>
Attributes
Name |
Value |
Description |
default |
default | empty |
enable the track if no other text track is more suitable |
kind |
captions | chapters | descriptions | metadata | subtitles |
the type of text track |
label |
string |
user-visible label |
src |
URI |
address of the resource |
srclang |
language tag |
language of the text track |
default
kind
label
src
srclang