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>
Updated on: 2020-03-04T11:04:31+05:30

78 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements