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 ...
Get CSS Quick Syntax Reference 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.