Usage of CSS list-style property

CSSWeb DevelopmentFront End Technology

The list-style serves as shorthand for the preceding properties. The list-style allows you to specify all the list properties into a single expression.

Example

<html>
   <head>
   </head>
   <body>
      <ul style = "list-style: inside square;">
         <li>Table</li>
         <li>Chair</li>
      </ul>
   </body>
</html>
raja
Published on 17-Apr-2018 11:49:37
Advertisements