Name
COMPACT — NN n/a IE 3 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). Internet Explorer ignores this attribute (despite the fact that support for this attribute is indicated in IE 3 documentation).
Example
<DIR COMPACT>...</DIR>
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.