Usage of CSS list-style-image property



The list-style-image specifies an image for the marker rather than a bullet point or number. You can try to run the following code to implement list-style-image property:

Example

<html>
   <head>
   </head>
   <body>
      <ul>
         <li style = "list-style-image: url(/images/bullet.gif);">Karnataka</li>
         <li>Hyderabad</li>
      </ul>
   </body>
</html>
karthikeya Boyini
karthikeya Boyini

I love programming (: That's all I know


Advertisements