Stats

63 Contributors: 5 Thursday, November 10, 2016
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial: riptutorial@gmail.com
Roadmap: roadmap

List Styles

Syntax

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

Parameters

ValueDescription
list-style-typethe type of list-item marker.
list-style-positionspecifies where to place the marker
list-style-imagespecifies the type of list-item marker
initialsets this property to its default value
inheritinherits this property from its parent element

Remarks

Although the list-style-type is actually a property that applies only to list items (normally <li>), it is often specified for the list tag (<ol> or <ul>). In this case, the list items inherit the property.

Related Examples