Last updated: 2026-09-12
<menu>The MENU Element
Represents a list of commands or menu items, often a toolbar or context menu; may contain <li> or <button> elements.
| Category | Forms |
|---|---|
| Content Model | Flow content |
| Allowed Parents | Any element that accepts flow content |
| Content Tag | Yes — requires closing </menu> tag |
| Status | Standard |
📝 Syntax
<menu>
<li><button>Copy</button></li>
<li><button>Paste</button></li>
</menu>
⚙️ Attributes
This element supports the global attributes plus the following:
| Attribute | Value | Description |
|---|---|---|
type | Menu type: toolbar (default) or context. | |
label | A human-readable label, often for context menus. |
▶ Example
Edit the code below and see the live result in the playground:
🌐 Browser Support
| Browser | |||||
|---|---|---|---|---|---|
| <menu> | ✓ v1 | ✓ v12 | ✓ v1 | ✓ v1 | ✓ v1 |
| Supported in all major browsers | |||||
Tip: menu is like <ul> but means a command list; rendering support varies—use <ul> for simple lists.
🏷️ Related Tags
💡 Related Cases
More case studies coming soon — check back later.