HTML <track> with kind Attribute

You are Here:

HTML <track> with kind Attribute

The kind attribute specifies the kind of text track.

Example

HTML Online Editor
<!DOCTYPE html> <html> <body> <video style="width:100%;height:330px" controls> <source src="/reindeer.mp4" type="video/mp4"> <track src="/reindeer.vtt" kind="subtitles" srclang="en" label="English"> </video> </body> </html>

Attribute Values

ValueExplanation
captions Provide a transcription and possibly a translation of audio.
Suitable for users who are deaf or when the sound is muted.
chapters Chapter titles are intended to be used when the user is navigating the media resource.
descriptionsTextual description of the video content.
It is suitable for users who are blind or where the video cannot be seen.
metadataTracks used by scripts. Not visible to the user.
subtitlesProvide translation of content that cannot be understood by the viewer.
For example: dialogue or text that is not English in an English language film.

Reminder

Hi Developers, we almost covered 99.5% of HTML Tutorials with examples for quick and easy learning.

We are working to cover every Single Concept in HTML.

Please do google search for:

Join Our Channel

Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.

This channel is primarily useful for Full Stack Web Developer.

Share this Page

Meet the Author