HTML 5 <menu> Tag
Example
A menu list:
<menu>
<li><input type="checkbox" />Red</li>
<li><input type="checkbox" />blue</li>
</menu> |
View it » |
Definition and Usage
The <menu> tag defines a menu list. Use this when you wish to list form
controls.
Differences Between HTML 4.01 and HTML 5
The menu element is deprecated in HTML 4.01.
The menu element is redefined in HTML 5, and is used to list form controls.
Tips and Notes
Tip: Use CSS to style menu lists.
Attributes
New : New in HTML 5.
Attribute |
Value |
Description |
labelNew |
menulabel |
Defines a visible label for the menu |
typeNew |
context
toolbar
list |
Defines which type of menu to display.
Default value is "list". |
Standard Attributes
The <a> tag also supports the Standard Attributes in HTML 5.
Event Attributes
The <a> tag also supports the Event Attributes
in HTML 5.
|