YouTip LogoYouTip

Att Track Label

## HTML label Attribute The `label` attribute of the `` element specifies a user-readable title for the text track. This title is displayed to users in the media player's interface (such as a subtitle selection menu) so they can easily identify and select their preferred track. --- ## Definition and Usage * **Purpose:** Defines the label or title of the text track. * **User Experience:** When a video or audio player provides a menu for selecting subtitles, captions, or audio descriptions, the value of the `label` attribute is what the user sees (e.g., "English", "Spanish (Latin America)", "Director's Commentary"). * **HTML5 Standard:** The `` element and its `label` attribute are features introduced in HTML5 to support native media accessibility. --- ## Syntax ```html ``` ### Attribute Value | Value | Description | | :--- | :--- | | *text* | A string specifying the title/label of the text track (e.g., "English", "French Captions"). | --- ## Code Example The following example demonstrates a `
← Att Track SrcAtt Track Kind β†’