CSS provides options to fully customize the appearance of lists and tables. This includes the style of list markers, numbering types, and the design of table borders, colors, and sizes.
For lists, the <list-style-type> property defines the list markers, such as circle, square, Roman numerals, or letters. Unordered and ordered lists can each have different styles.
The following examples show how lists appear with different marker and numbering styles.
For styling tables, properties like border, padding, and background are often used. With the <border-collapse> setting, adjacent cell borders can be merged.
The following code demonstrates a simple table containing a header and two data rows with basic CSS styling.
Lists and tables make content clearer and easier to read, but excessive styling can be distracting.
✨ Ask Lara — your AI study partner
Unlock personalized learning support. Lara can explain lessons, summarize topics, and answer your study questions — available from the Go plan and above.
Lara helps you learn faster — exclusive to ReadyTools Go, Plus, and Max members.