Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML track kind Attribute

HTML The kind property

HTML track Tag Reference HTML tag

Example

A video element with two subtitle tracks:


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Internet Explorer 10, Opera, and Chrome support the kind attribute.


Definition and Usage

The kind attribute specifies the kind of track.


Differences between HTML 4.01 and HTML5

The tag is new in HTML5.

Syntax

Attribute values

Value Description
captions This track defines a brief description to be displayed in the player.
chapters This track defines chapters, used for navigating the media resource.
descriptions This track defines descriptions, used to describe the media content through audio, in case the content cannot be played or is not visible.
metadata This track defines content used by scripts.
subtitles This track defines subtitles, used to display subtitles in the video.

HTML track Tag Reference HTML tag