/

HTML / CSS / JavaScript Tutorial

HTML Standard attribute: label

[this page | pdf | back links]

The HTML label attribute specifies the title of the track or group (for <optgroup>, <option> and <track> elements) or the visible label to give to a menu (for <menu> elements).

 

Valid attribute values (when used with <menu>, <optgroup>, <option> and <track>elements) include:

 

Value

Description

text

Visible label

 


NAVIGATION LINKS
Contents | Prev | Next | HTML Attributes


Desktop view | Switch to Mobile