CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise


CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

List Styling in CSS

List Styling



As we already know, there are two types of lists. One is an unordered list or ul. The other one is ordered List or ol. The CSS list properties allow us to set different list item markers. Some of the most common markers are circlesquaredecimaldisc, and lower-alpha. We can do all this by list-style-type property. It has two more properties i.e, list-style-image and list-style-position​​​​​.




Its syntax is:-

< style >


list-style: list-style-type list-style-position list-style-image| initial| inherit;


< /style >


Further Explanation:-


Value Description
list-style-type Specifies the type of list-item marker.
list-style-position Specifies where to place the list-item marker.
list-style-image Specifies the type of list-item marker.
initial Sets this property to its default value.
inherit Inherits this property from its parent element.

Code Explanation

All Tutorials related to CSS Advance

All Sections related to CSS