basics of website design banner photo

HTML

HTML 5

CSS 2.1

CSS 3

Reference

CSS list-style Property

The list-style property defines all three list-style properties of type, position and image in one declaration.

Possible Values

For available values please see the individual property pages.

Example of the list-style property in use with the following code:

list-style: upper-roman outside url(‘purple.gif’);

The values in the declaration are separated by a space and because list-style-image is defined the value of list-style-type is only shown if the browser can't locate the image.

CSS 2.1 Property List