list-style-image

The list-style-image property sets the image that will be used as the list item marker.

Syntax

list-style-image: <uri> | none | inherit
Initial: none
Applies To: elements with display: list-item
Inherited: yes
Percentages: NA
Media: visual

Values

list-style-image: value
Value Description
none No marker
uri Uniform Resource Identifier (URL, URN, ...) inside url() parenthesis

DOM

[window.]document.getElementById("element-id").style.listStyleImage = "list-style-image";

Example | none

Example | uri

Example | DOM

External

W3C Cascading Style Sheets, level 1

W3C Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification