September 2014
Intermediate to advanced
148 pages
2h 15m
English
CHAPTER 23
![]()
List
The CSS list properties deal with the list elements, specifically the <ul>, <ol>, and <li> elements.
list-style-type
Lists are rendered with a marker shown before each list item element (<li>). The appearance of this marker can be changed using the list-style-type property. For an unordered list (<ul>), each list item is marked in the same way. The predefined bullet values shown here can be used, with disc (a filled circle) as the default value:
list-style-type : inherit | disc | circle | square | none
In an ordered list (<ol>), each list item is marked with a numeric character to show its position in the sequence. All major browsers ...
Read now
Unlock full access