element was originally intended to be used to display lists of menu
choices, and is almost identical in its purpose to the
dir element (except that, unlike
menu element was
not intended for multicolumn display).
li is a block-level element and would normally be
able to contain other block-level elements, when it’s used in the context
menu, a child
li element can
only contain inline elements.
The menu shown in the example would render as follows:
The listing below shows a menu for a report of some kind:
<menu> <li>Main menu</li> <li>Introduction</li> <li>Executive summary</li> </menu>
Use This for…
to mark up a series of menu titles.
This element is now deprecated and has little, if any support in browsers.
menu element is
used, most browsers will simply render the list exactly as they would a
ul with a series of
li elements. As
such, you’re better to use those elements instead, as this approach
ensures forwards and backwards compatibility, cross-browser support, and
In this Section
There are no comments yet.