HTML track Tag
The track tag specifies text tracks for audio or video elements. It is used to specify subtitles, caption files, or other similar text that is visible when the media is playing. They are basically formatted in .vtt files which is actually WebVTT format.
Attribute Explanation:-
AttributeValueDescription defaultdefaultSpecifies that the track is to be enabled if the user's preferences do not indicate that another track would be more appropriate kindcaptions
chapters
descriptions
metadata
subtitles Specifies the kind of text track labeltextSpecifies the title of the text track srcURLRequired. Specifies the URL of the track file srclanglanguage_codeSpecifies the language of the track text data
Syntax:-
Its syntax is:- < track