HTML5 <menu> Tag


A menu list:

<li><input type="checkbox" />Red</li>
<li><input type="checkbox" />blue</li>

Try it yourself »

Definition and Usage

The <menu> tag defines a list or menu of commands.

The <menu> tag is used for context menus, toolbars and for listing form controls and commands.

Differences Between HTML 4.01 and HTML5

The menu element is deprecated in HTML 4.01.

The menu element is redefined in HTML5.

Tips and Notes

Tip: Use CSS to style menu lists.


New : New in HTML5.

Attribute Value Description
labelNew menulabel Defines a visible label for the menu
typeNew context
Defines which type of menu to display. Default value is "list".

Standard Attributes

The <menu> tag also supports the Standard Attributes in HTML5.

Event Attributes

The <menu> tag also supports the Event Attributes in HTML5.