Lessons Community Resources Tools

List Style Type

Syntax: list-style-type: <value>
Possible Values: disc | circle | square | decimal | lower-roman | upper-roman | lower-alpha | upper-alpha | none
Initial Value: disc
Applies to: Elements with display value list-item
Inherited: Yes

The list-style-type property specifies the type of list-item marker, and is used if list-style-image is none or if image loading is turned off.

Examples:

LI.square { list-style-type: square }
UL.plain { list-style-type: none }
OL { list-style-type: upper-alpha }
OL OL { list-style-type: decimal }
OL OL OL { list-style-type: lower-roman }