Use of the compact attribute in a menu list:
![]()
Note: The compact attribute is not supported in any of the major browsers.
The compact attribute of <menu> is deprecated in HTML 4.01.
The compact attribute specifies that the list should render smaller than normal, by reducing the space between lines and the indentation of the list.
The compact attribute of <menu> is not supported in HTML 4.01 Strict / XHTML 1.0 Strict DTD.
Look at ordered (<ol>) and unordered (<ul>) HTML lists instead.
| Value | Description |
|---|---|
| compact | Specifies that the list should render smaller than normal |
HTML <menu> tag
Your message has been sent to W3Schools.