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)]:
- 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
ULelements. User agents are recommended to renderDIRelements as multicolumn directory lists, andMENUelements as single column menu lists. In practice, Mosaic and most other user agents have ignored this advice and instead renderDIRandMENUin an identical way toULelements.” —as stated in HTML 3.2 Reference Specification]
Content Model/Assigned Attributes
- Element-Type:
- List
- Attributes:
</menu>
