Example

A simple list-style property example:

Laboratory

description & Usage

The list-style attribute is a concise attribute for:

list-style-type
list-style-position
list-style-image

is.

Informations

# Description
Default Value disc outside none
Inherited yes
Animatable no
Version CSS1
JavaScript syntax object.style.listStyle="decimal inside"

Browser compatibility and Support

# Chrome Edge Firefox Safari Opera
list-style

Syntax

Values

Values Description
list-style-type Determines the mode type of the indicator.
list-style-position Determines the position of the marker.
list-style-image Determines the type of indicator.
initial Adds this value to its default property.
inherit It inherits this value from its parent tag.