Web4College

CSS list-style-image property

src

Description

CSS list-style-image adds an image as the content of list item markers.

Syntax

list-style-image : none | url(image-address)

Property values

noneDefault

no image is used as the content of list item markers. In this case, list-style-type defines the type of list item markers.

list-style-image: none;
Try it

url(image-address)

It defines the address of the image that is used as the content of list item markers.

list-style-image: url('img/web4college.png');
Try it

Applicable to

It applies to list items.