Back to CSS

CSS Tutorial

Lists and Tables

Style list markers, spacing, table borders, and table cells.

CSS can make lists easier to scan and tables easier to compare.

Use spacing, borders, and background colors to improve readability.

css
ul {
  padding-left: 24px;
}

table {
  border-collapse: collapse;
  width: 100%;
}