HTML lists allow web developers to group a set of related items in lists.
<ol>
tag. Each list item starts with the <li>
tag.<ol>
tag. Each list item starts with the <li>
tag.<dl>
tag defines the description list, the <dt>
tag defines the term (name), and the <dd>
tag describes each term:<!-- UnOrdered List-->
<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
<!-- Ordered List-->
<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
<!-- Description List-->
<dl>
<dt>Coffee</dt>
<dd>- black hot drink</dd>
<dt>Milk</dt>
<dd>- white cold drink</dd>
</dl>