Usage of CSS list-style-image property

JavascriptWeb DevelopmentFront End Scripts

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>
raja
Published on 17-Apr-2018 11:43:52
Advertisements