Style the numbering characters in an ordered list with CSS

JavascriptWeb DevelopmentFront End Scripts

The list-style-type property allows you to control the shape or style the numbering characters in ordered lists.

Example

<html>
   <head>
   </head>
   <body>
      <ol style = "list-style-type:decimal;">
         <li>India</li>
         <li>US</li>
         <li>UK</li>
      </ol>
   </body>
</html>
raja
Published on 17-Apr-2018 10:50:30
Advertisements