Easy Tutorial
❮ Prop Reset Name Prop Color Form ❯

listStyleImage Property


Definition and Usage

The listStyleImage property sets or returns the image used as the list item marker.

Syntax

Set the listStyleImage property:

Return the listStyleImage property:

Value Description
none Default. No image is displayed.
url Specifies the path to the image.
inherit The value of the listStyleImage property is inherited from the parent element.

Browser Support

All major browsers support the listStyleImage property.

Note: IE7 and earlier versions do not support the "inherit" value. IE8 only supports "inherit" if the !DOCTYPE is specified. IE9 supports "inherit".


Example

Change the list item marker of a list:


❮ Prop Reset Name Prop Color Form ❯