How do you make a list that lists its items with squares?
Answers
Answered by
3
In CSS :
list-style-type : square;
list-style-type : square;
Answered by
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