CSS List Styles

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

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.



Got any CSS Question?