A toolbar with two menu buttons on it ("File" and "Edit"), each of which has a dropdown menu with a series of options:
![]()
The <menu> tag is not currently supported in any of the major browsers.
The <menu> tag defines a list/menu of commands.
The <menu> tag is used for context menus, toolbars and for listing form controls and commands.
Tip: Use CSS to style menu lists.
The <menu> element is deprecated in HTML 4.01.
The <menu> element is redefined in HTML5.
New : New in HTML5.
| Attribute | Value | Description |
|---|---|---|
| labelNew | text | Specifies a visible label for the menu |
| typeNew | context toolbar list |
Specifies which type of menu to display. Default value is "list" |
The <menu> tag also supports the Global Attributes in HTML.
The <menu> tag also supports the Event Attributes in HTML.
Your message has been sent to W3Schools.