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

HTML track label Attribute

HTML label 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 label attribute.


Definition and Usage

The label attribute specifies the title of the text track.

For example, the title is displayed when the user selects a subtitle track.


Differences between HTML 4.01 and HTML5

The tag is new in HTML5.

Syntax

Attribute values

Value Description
label Specifies the title of the track.

HTML track Tag Reference HTML tag