Lists in HTML

What is List?
List is a group of items related to each other.
Typed of list in htmlUnordered listOrdered listDefination list
Unordered V/S Ordered List
Unordered listUnordered list is a group of related items arrange in no order.Order list is created by using <ul> </ul> tag.<li> </li> tag is used to create list items in the list. Creating Unordered List <ul>
<li>Tea</li>
<li>Coffee</li>
<li>Cold Drink</li>
</ul>
Types of Unordered ListOrdered ListOrdered list is a group of elements a particular order.<ol> </ol> tag is used to create ordered list.<ol>
<li>Tea</li>
<li>Coffee</li>
<li>Cold Drink</li>
</ol>
Types of ordered list Examples of ordered list
Definition List Definition list a group of items with key (terms) and value (definition) pair.
<dl> tag is used to create definition list.<dt> tag creates definit…
Unordered listUnordered list is a group of related items arrange in no order.Order list is created by using <ul> </ul> tag.<li> </li> tag is used to create list items in the list. Creating Unordered List <ul>
<li>Tea</li>
<li>Coffee</li>
<li>Cold Drink</li>
</ul>
Types of Unordered ListOrdered ListOrdered list is a group of elements a particular order.<ol> </ol> tag is used to create ordered list.<ol>
<li>Tea</li>
<li>Coffee</li>
<li>Cold Drink</li>
</ol>
Types of ordered list Examples of ordered list
Definition List Definition list a group of items with key (terms) and value (definition) pair.
<dl> tag is used to create definition list.<dt> tag creates definit…