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.
The perfect solution for professionals who need to balance work, family, and career building.
More than 10 000 certificates already issued!
The HTML Certificate documents your knowledge of HTML.
The HTML5 Certificate documents your knowledge of advanced HTML5.
The CSS Certificate documents your knowledge of advanced CSS.
The JavaScript Certificate documents your knowledge of JavaScript and HTML DOM.
The jQuery Certificate documents your knowledge of jQuery.
The XML Certificate documents your knowledge of XML, XML DOM and XSLT.
The ASP Certificate documents your knowledge of ASP, SQL, and ADO.
The PHP Certificate documents your knowledge of PHP and SQL (MySQL).
Your message has been sent to W3Schools.