HTML | <ol> compact Attribute
The HTML <ol> compact attribute is used to define the list should be smaller than the normal by reducing the space between the list items and the indentation of the list. It is a Boolean attribute.
Note: The HTML <ol> compact attribute is not supported by HTML 5 instead of using this we can use the CSS line-height property.
Supported Browsers: The HTML <ol> compact attribute is not supported by any major browsers.