label
The HTML <label>
element represents a caption for an item in a user interface.
menuitem - The name of the command as shown to the user. Required when a command
attribute is not present.
optgroup - The name of the group of options, which the browser can use when labeling the options in the user interface. This attribute is mandatory if this element is used.
menu - The name of the menu as shown to the user. Used within nested menus, to provide a label through which the submenu can be accessed. Must only be specified when the parent element is a <menu>
in the context menu state.
option - This attribute is text for the label indicating the meaning of the option. If the label
attribute isn't defined, its value is that of the element text content.
track - A user-readable title of the text track which is used by the browser when listing available text tracks.
Attributes
- Graph
- Supertypes
- trait Attrtrait Tagclass Objecttrait Matchableclass Any
- Self type
- label.type