Specify labels for different <menuitem> elements:
The required label attribute specifies the name of the command/menu item, as shown to the user.
The numbers in the table specify the first browser version that fully supports the attribute.
Attribute | |||||
---|---|---|---|---|---|
label | Not supported | Not supported | 8.0 | Not supported | Not supported |
The <menuitem> tag is new in HTML5.
Value | Description |
---|---|
text | Specifies the visible label of the menu item |