Computer >> Computer tutorials >  >> Programming >> Javascript

Style unordered lists markers with CSS


The list-style-type property allows you to control the shape or style the unordered lists markers.

Example

<html>
   <head>
   </head>
   <body>
      <ul style = "list-style-type:square;">
         <li>India</li>
         <li>UK</li>
         <li>US</li>
      </ul>
   </body>
</html>