Name

listStyleImage — NN n/a IE 4 DOM n/a

Synopsis

Read/Write

The URL for an image that is to be used as the marker for a list item. Because this attribute can be inherited, a setting (including none) for an individual list item can override the same attribute or property setting in its parent.

Example

document.all.itemList.style.listStyleImage = "images/3DBullet.gif"

Value

Use none (as a string) to override an image assigned to a parent element. Otherwise, supply any valid full or relative URL to an image file whose MIME type is readable by the browser.

Default

none

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.