: The Unordered List element – HTML: HyperText Markup Language | MDN
Warning: Do not use this attribute, as it has been deprecated: use CSS instead. To give a similar effect as the compact attribute, the CSS property line-height can be used with a value of 80% .
This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent , and it doesn’t work in all browsers.
This attribute sets the bullet style for the list. The values defined under HTML3.2 and the transitional version of HTML 4.0/4.01 are:
circle
disc
square
A fourth bullet type has been defined in the WebTV interface, but not all browsers support it: triangle
.
If not present and if no CSS list-style-type
property applies to the element, the user agent selects a bullet type depending on the nesting level of the list.
Warning: Do not use this attribute, as it has been deprecated; use the CSS list-style-type
property instead.