Name

COMPACT — NN n/a IE n/a HTML 3.2

Synopsis

COMPACT

Optional

A Boolean attribute originally designed to let browsers render the list in a more compact style than normal (smaller line spacing between items). This attribute is not implemented in current browsers.

Example

<UL COMPACT>...</UL>

Value

The presence of this attribute makes its value true.

Default

false

Get Dynamic HTML: The Definitive Reference 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.