Learning HTML 3.2 by Examples, section 5 Descriptions of HTML 3.2 tags:

MENU - unnumbered list in menu-like form


To present information in a menu-like format.

Typical rendering

In practise, most browsers present a MENU element exactly the same way as an UL element. A few browsers omit the bullets, however.

Theoretically, the recommendation has been and still is that MENU element be rendered as a single column menu list which is more compact than a UL element.

Basic syntax

<LI> list item 1
<LI> list item 2

Possible attributes

attribute name possible values meaning
COMPACT COMPACT reduced interim spacing

Typically, browsers ignore the COMPACT attribute.

Allowed context

Block container.


LI elements which do not contain block elements.


Example MENU.html:

<LI> Undo
<LI> Cut
<LI> Copy
<LI> Paste
<LI> Find
<LI> Find Again
See also Examples of various list elements in HTML.


In HTML 4.0, the MENU element is deprecated in favor of the UL element; style sheets can be used to suggest features of the presentation of a list.

See general notes about list elements for a discussion of selecting between them.

The name of the element might be misleading. There is no true selection menu involved, just a display of menu keywords. To present a true selection menu you can use hyperlink anchors (A elements). See the section Using tables to represent menus.

Date of last update: 2010-12-16.
This page belongs to the free information site IT and communication, section Web authoring and surfing, by Jukka "Yucca" Korpela.