Name
menu — <menu> . . . </menu>
Deprecated. Indicates
a menu list, which consists of list items (li
). Menus are intended to be used for
a list of short choices, such as a menu of links to other
documents. It is rarely used and has been deprecated in favor of
ul
.
Attributes
Core, Internationalization,Events
compact="compact"
Deprecated. Makes the list as small as possible. Few browsers support the
compact
attribute.
Example
<menu>
<li>About</li> <li>News</li> <li>Blog</li> <li>Contact</li></menu>
Get HTML and XHTML Pocket Reference, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.