The HTML | <ul> 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 ul compact attribute in not supported by HTML 5.
Supported Browsers: The browser supported by HTML <ul> compact attribute are listed below:
- Google Chrome
- Internet Explorer