B.62. list-style-type

This property lets you set the type of marker displayed list items. This may include actual list item (li) elements, or other elements with their display property set to list-item. If an affected element also has a list-style-image value other than none, this property defines the fallback marker to display if the image cannot be loaded.

Inherited: Yes

See also: Section B.59list-style, Section B.60list-style-image

B.62.1. Value

There are a wide range of constants available for this property.

The following "glyph" markers display a single symbol for all list items, and are commonly used for unordered lists:

  • circle

  • disc

  • square

The following "numbering" markers display a number in the chosen format for each list item:

  • decimal ...

Get HTML Utopia: Designing Without Tables Using CSS 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.