HTML lists allow web developers to group a set of related items in lists.
Each list item starts with the <li> tag.
An unordered list starts with the <ul> tag.
Ex: <ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
An ordered list starts with the <ol> tag.
Ex: <ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
HTML also supports description lists.
A description list is a list of terms, with a description of each term.
<dl> tag defines the description list, the <dt> tag defines the term (name), and the <dd> tag describes each term.
Ex: <dl>
<dt>Coffee</dt>
<dd>- black hot drink</dd>
<dt>Milk</dt>
<dd>- white cold drink</dd>
</dl>
<dt>Coffee</dt>
<dd>- black hot drink</dd>
<dt>Milk</dt>
<dd>- white cold drink</dd>
</dl>