HTML <menuitem> tag

Updated: 10/11/2017 by Computer Hope
HTML menuitem tag

When writing in HTML, the <menuitem> tag designates a command that a user can invoke via a popup menu. It is nested in the <menu> element. Because this tag is experimental and only supported by Firefox, information is limited.

Attributes

In an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair; all tags support standard attributes. The following table shows all the current unique HTML attributes for the <menuitem> tag, and a description of each.

Attribute Description
checked Designates that the command item should be checked off upon the page loading.
default Designates a menu item and a default command.
disabled Designates that a menu item be disabled.
icon Designates an icon for the command.
label Creates a label for the <menuitem> element (required).
radiogroup Designates the name of the group of commands to be toggled upon command execution.
type Designates the type of menu item or command.

Compatibility

Edge Internet Explorer Firefox Safari Opera Chrome
Not supported Not supported 8.0+ Not supported Not supported Not supported

Browser, Compatibility, Container tag, Nesting, Toolbar, URL, Web design terms