The HTML <menu></menu> element defines a menu list. Though the common implementation of this element is usually the same as an unordered list, the <menu> style should be more compact. The only content of this list structure is the <li> element. As with other list structures, the closing </li> tag is optional in HTML (required in XHTML), as it is implied by the subsequent <li> or end </menu> tags.
Attributes
| Attribute | Value | Description |
|---|---|---|
label |
label | Defines a visible label for the menu. |
type |
list context toolbar |
Defines which type of menu to display. Default value is list. Other values are context and toolbar.
|
- Global Attributes
HTML example:
<menu> <li><input type="checkbox" />Red</li> <li><input type="checkbox" />Blue</li> </menu>
Image example:
<menu> in Firefox 3.6.10