The display
property does not have a value that will cause an element to display as a list. However, display: list-item;
does cause an element to generate a list item. Every list item has a marker, which is the bullet, number, or other mark that identifies the list item. In CSS 2, the formatting of the marker is specified using the the list-style-type
, list-style-image
, list-style-position
, and list-style
properties. CSS 3 adds the ::marker
pseudo-element so that the list item marker can be styled with the full range of CSS properties and values. The list-style-type
and list-style-image
properties set the default contents of the ::marker
pseudo-element.