List

In HTML, there are two types of lists:

  • unordered list - the list items are marked with bullets (typically circles or squares)
  • ordered list - the list items are marked with numbers or letters

With CSS, lists can be styled further, and images can be used as list item markers.
Different List Item Markers
It is possible to specify the type of list item marker with the list-style-type property:


Example

ul.circle {list-style-type:circle}
ul.square {list-style-type:square}

ol.upper-roman {list-style-type:upper-roman}
ol.lower-alpha {list-style-type:lower-alpha}