Style Object
The listStyleImage property sets or returns an image as the list-item marker.
Set the listStyleImage property:
Return the listStyleImage property:
| Value | Description |
|---|---|
| none | No image will be displayed. This is default |
| url | Specifies the path to the image |
| inherit | The value of the listStyleImage property is inherited from parent element |
![]()
The listStyleImage property is supported in all major browsers.
Note: The value "inherit" is not supported in IE7 and earlier. IE8 requires a !DOCTYPE. IE9 supports "inherit".
Change the list-item marker of a list:
Style Object
Your message has been sent to W3Schools.