Style listStyleImage Property
Style listStyleImage Property
The listStyleImage property is used to either set or return the image as the list-item marker.
Syntax:-
Its syntax is:- object.style.listStyleImage OR object.style.listStyleImage = none|url|initial|inherit
Return:-
Its return is:- string containing location path of the image
Further Explanation:-
Value | Description |
---|---|
none | No image will be displayed. |
url | Specifies the path to the image. |
initial | Sets property to its default value. |
inherit | Inherits property from its parent element. |