Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Style Numbering Characters in an Ordered List with CSS



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>
Updated on: 2020-02-03T07:02:06+05:30

357 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements