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 |
HTML5 <menu> tag
| WEB HOSTING |
|---|
| Best Web Hosting |
| PHP MySQL Hosting |
| Best Hosting Coupons |
| UK Reseller Hosting |
| Cloud Hosting |
| Top Web Hosting |
| $3.98 Unlimited Hosting |
| Premium Website Design |
| WEB BUILDING |
|---|
| XML Editor - Free Trial! |
| FREE Website BUILDER |
| Best Website Templates Top CSS Templates |
| CREATE HTML Websites |
| EASY WEBSITE BUILDER |
| W3SCHOOLS EXAMS |
|---|
|
Get Certified in: HTML, CSS, JavaScript, XML, PHP, and ASP |
| W3SCHOOLS BOOKS |
|---|
|
New Books: HTML, CSS JavaScript, and Ajax |
| STATISTICS |
|---|
|
Browser Statistics Browser OS Browser Display |
| SHARE THIS PAGE |
|---|