The best CSS list-style-image property Tutorial In 2024, In this tutorial you can learn Examples,Attribute definitions and instructions,Browser Support,Property Value,related articles,
Specified list of list items marked images:
list-style-image property to use an image to replace the mark list items.
Note: Always specify a "list-style-type" attribute in case the image is unavailable.
Defaults: | none |
---|---|
inherit: | yes |
version: | CSS1 |
JavaScript syntax: | object .style.listStyleImage = "url ( '/en/images / blueball.gif')" |
Figures in the table represent the first browser to support the version number of the property.
属性 | |||||
---|---|---|---|---|---|
list-style-image | 1.0 | 4.0 | 1.0 | 1.0 | 7.0 |
value | description |
---|---|
URL | Path to the image. |
none | default. No graphics are displayed. |
inherit | Provisions should inherit the value list-style-image property from the parent element. |
CSS tutorial: CSS list
CSS Reference: List-style property