HTML label property
Example
A command with a label
Try it »
Browser support





Currently, almost all major browsers do not support the label attribute.
Definition and Usage
The required label attribute specifies the name of the command, to be displayed to the user.
Differences between HTML 4.01 and HTML5
Syntax
Attribute values
| Value | Description |
|---|---|
| text | Specifies the visible label of the command. |
HTML