To change the bullet color of an HTML list without using a span with CSS, we set the list-style-image
property.
For instance, we write
li {
list-style-image: url(images/yourimage.jpg);
}
to set the list-style-image
property to url(images/yourimage.jpg)
to set the bullet to an image.