A <menuitem> element of type "command":
The type attribute specifies the type of command/menu item.
The numbers in the table specify the first browser version that fully supports the attribute.
Attribute | |||||
---|---|---|---|---|---|
type | Not supported | Not supported | Not supported | Not supported | Not supported |
The <menuitem> tag is new in HTML5.
Value | Description |
---|---|
command | Default. Specifies a normal command with an action |
checkbox | Specifies a command that can be toggled using a checkbox |
radio | Specifies a command that can be toggled using a radio button |