Computer >> Computer tutorials >  >> Programming >> CSS

Usage of CSS list-style property


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>