Math, asked by jiya7865, 1 year ago

How do you make a list that lists its items with squares?

Answers

Answered by siddhartharao77
3
In CSS : 

list-style-type : square;
Answered by krithikasmart11
0

Answer:

ul{

list-style-type: square;

}

CSS

Consider the example below Fruitslist.html:

<!DOCTYPE html>

<html>

  <head>

     <title>Fruits List</title>

  </head>

  <body>

     <h1>Fruits</h1>

     <p>The list of Fruits :</p>

     <ul style="list-style-type:square">

        <li>Mango</li>

        <li>Grapes</li>

        <li>Apple</li>

     </ul>

  </body>

</html>

#SPJ2

Similar questions