menu

FilterElements

<menu> ... </menu>

HTML 4.01: the deprecated menu element indicates a menu list, which consists of one or more list items (li). Menus were intended for a list of short choices, such as a menu of links to other documents.

HTML5: menu represents a list of interactive options or commands such as a menu of options in a web application.

Start/End Tags

Required/Required

Specifications

  • HTML 4.01
  • HTML5
HTML 4.01
<menu>
  <li>About</li>
  <li>News</li>
  <li>Blog</li>
  <li>Contact</li>
</menu>
HTML5
<menu>
  <command onclick="cut()" label="Cut">
  <command onclick="copy()" label="Copy">
  <command onclick="paste()" label="Paste">
  <command onclick="delete()" label="Clear">
</menu>

Rendered Example


  • About
  • News
  • Blog
  • Contact
  • The HTML5 menu element is not supported in this browser.