CSS2 List Properties Reference Guide

CSS2 List Property Reference Guide

This is a complete reference guide to all the CSS properties related to lists defined in the Web Site Recommended Style Sheets Level 2 specification.

Click on any property to see its description with examples. Serial number Attributes and descriptions
1 list-style Use any of the values ​​for list-style-image, list-style-position, or list-style-type to define list-related styles.

list-style-image: Defines the image of the list item marker.
list-style-position: Defines the indentation or extension of the list item marker relative to the content.
list-style-type: Defines the marker style for an unordered list (circle, disc, or square) or an ordered list (decimal, loweralpha, lower-roman, none, upper-alpha, or upper-roman).

2 list-style-image defines an image to be used as a list item marker instead of the value of list-style-type.


list-style-type: Defines the style of list item tags.

3 list-style-position Indents or extends (default) the list item marker relative to its contents.
4 list-style-type Defines the list item marker style for unordered lists (circle, disc, or square) or ordered lists (decimal, loweralpha, lower-roman, none, upper-alpha, or upper-roman).

Leave a Reply

Your email address will not be published. Required fields are marked *