Version | W3C//DTD HTML 3.2 Final//EN
|
---|
Element | MENU |
---|
Purpose | menu list |
---|
Description | This element encloses a list of items constituting a menu, or a set from which you can select. The intent is that MENU creates lists which are more compact than UL lists. However, the MENU element was never rendered differently in many browsers and is rarely used.
|
---|
Start tag | Required <MENU>
|
---|
Attributes | Name | Type | Default | Comment |
---|
compact | ( compact ) | #IMPLIED | more compact style
|
|
---|
Content | ( LI )+ -( P | UL | OL | DIR | MENU | PRE | DL | DIV | CENTER | BLOCKQUOTE | FORM | ISINDEX | HR | TABLE )
|
---|
End tag | Required </MENU>
|
---|
Referenced in | BLOCKQUOTE BODY CENTER DD DIR DIV FORM LI MENU TD TH
|
---|
Example | Source | Appearance |
---|
On the menu:
<MENU>
<LI>Pizza
<LI>Ham
<LI>Cheese
<MENU>
<LI>Cheddar
<LI>Munster
</MENU>
<LI>Eggs
</MENU>
| On the menu:
|
|
---|