Menu List Element Tutorial

<menu>

Introductory Text

The menu element represents a Menu List container (that is used in conjunction with li elements).

[Note: This structural element has been deprecated in HTML 4.01 but reinstated in HTML 5.]

Start tag:
<menu>
End tag:
</menu>

Use Examples

Example [HTML (HTML 3.2 Version)]:
  • This is a Menu List Item
  • This is a Menu List Item
  • This is a Menu List Item
  • Code [HTML]:
    
    <menu>
    <li>This is a Menu List Item</li>
    <li>This is a Menu List Item</li>
    <li>This is a Menu List Item</li>
    </menu>
    
    

    [Historical Note: “These elements have been part of HTML from the early days. They are intended for unordered lists similar to UL elements. User agents are recommended to render DIR elements as multicolumn directory lists, and MENU elements as single column menu lists. In practice, Mosaic and most other user agents have ignored this advice and instead render DIR and MENU in an identical way to UL elements.” —as stated in HTML 3.2 Reference Specification]


    Content Model/Assigned Attributes

    Element-Type:
    List
    Attributes:

    </menu>