A toolbar with two menu buttons on it ("File" and "Edit"), each of which has a dropdown menu with a series of options:
![]()
The type attribute is not currently supported in any of the major browsers.
The type attribute specifies the type of menu.
The <menu> element is redefined in HTML5, and the type attribute is new.
| Value | Description |
|---|---|
| list | Default. Specifies a list menu. A list of commands (li elements), that the user can perform or activate |
| context | Specifies a context menu. The menu must be activated before the user can interact with the commands |
| toolbar | Specifies a toolbar menu. Active commands, allows the user to interact with the commands immediately |
HTML <menu> tag
Your message has been sent to W3Schools.