Example

A simple list-style-image property example:

Laboratory

description & Usage

To change the list-item to an image, we use the list-style-image property.

Informations

# Description
Default Value none
Inherited yes
Animatable no
Version CSS1
JavaScript syntax object.style.listStyleImage="url('smiley.gif')"

Browser compatibility and Support

# Chrome Edge Firefox Safari Opera
list-style-image

Syntax

Values

Values Description
none No image is displayed.
url It determines the address and url of the desired image.
initial Adds this value to its default property.
inherit It inherits this value from its parent tag.