#Lists
There are two types of lists
1. Ordered Lists
These type of lists are basically represented by ol tag. they display the list written with numbers.
2. Unordered Lists
These type of lists are represented by ul tag. and they display the list written with dots. And the dots can be removed by CSS.
N.B: To display the lists you have to use another tag inside the ol or ul tag. called list tag. which is represented by li. So if you want to display a list of fruits you will write you code like.
for the ordered list
<ol>
<li>Banana</li>
<li>Oranges</li>
<li>Pears</li>
<li>Strawberries</li>
</ol>
for the unordered list
<ul>
<li>Banana</li>
<li>Oranges</li>
<li>Pears</li>
<li>Strawberries</li>
</ul>
There are two types of lists
1. Ordered Lists
These type of lists are basically represented by ol tag. they display the list written with numbers.
2. Unordered Lists
These type of lists are represented by ul tag. and they display the list written with dots. And the dots can be removed by CSS.
N.B: To display the lists you have to use another tag inside the ol or ul tag. called list tag. which is represented by li. So if you want to display a list of fruits you will write you code like.
for the ordered list
<ol>
<li>Banana</li>
<li>Oranges</li>
<li>Pears</li>
<li>Strawberries</li>
</ol>
for the unordered list
<ul>
<li>Banana</li>
<li>Oranges</li>
<li>Pears</li>
<li>Strawberries</li>
</ul>