These properties allow to control the presentation of list item markers. This property specifies the type of list
marker for an item in a list - an element
whose display property has the value
list-item.
The list style type only applies if
list-style-image is set to none, or to
a URI that can’t be displayed.
List markers can either be glyphs (that is, bullets), or
comprise a numeric or alphabetic numbering system. The
CSS2.1 specification doesn't define how alphabetic
numbering wraps at the end of the alphabet sequence.
ul li{
list-style-type: circle;
}li { list-style-type: square; }
li { list-style-type: circle; }
ul { list-style-image: url(path to image); }
li{
padding-left: 10px;
background-image: url(path to image);
background-repeat: no-repeat;
background-position: 10px;
}
li { marker-offset:20px; }
ul { list-style: inside square; }
ol { list-style-type: decimal; }
| Value | Description | Output |
| decimal | Number | 1, 2, 3, 4 etc.. |
| decimal-leading-zero | 0 before the number | 01, 02, 03, 04 etc.. |
| lower-alpha | Lowercase characters | a, b, c, d, e etc.. |
| upper-alpha | Uppercase characters | A, B, C, D, E etc.. |
| lower-roman | Lowercase Roman numbers | i, ii, iii, iv, v etc.. |
| upper-roman | Uppercase Roman numbers | I, II, III, IV, V etc.. |