HTMLOListElement: compact property
HTML DOM
HTML DOM
The compact property of the HTMLOListElement interface indicates that spacing between list items should be reduced. The exact handling of the compact attribute is browser-specific. Instead of using this property, consider using CSS line-height instead.
It reflects the compact attribute of the ol element.
Value
A boolean.