CSS List



The CSS list properties allow to place the list item marker, change list-item markers, or set an image as the list item marker whatever you want. Customize your HTML list elements with the CSS List attribute.

CSS list property includes following property :
- list-style
- list-style-image
- list-style-position
- list-style-type

ol { list-style-type: upper-roman; }
ul { list-style-type: circle; }

If you want to use something different from the default numbering of ordered lists, or the bullets/discs of unordered lists, then all you have to do is choose a different style for your lists.

 

 

USEFUL CSS PROPERTY

  • background
  • color
  • background-image
  • position
  • background-attachment
  • line-height
  • text-align
  • text-decoration
  • padding-top
  • padding
  • margin