HTML lists allow you to group a set of related items in the form of a list.
An unordered list starts with the <ul>
tag. Each list item starts with the <li>
tag.
The list items will be marked with bullet points (small black circles) by default.
An example unordered list is shown below:
An ordered list starts with the <ol>
tag. Each list item starts with the <li>
tag.
The list items will be marked with numbers by default.
An example ordered list is shown below:
HTML also supports decription lists.
A description list is a list of terms, with a description of each term
The <dl>
tag defines the description list, the <dt>
tag defines the term (name), and the <dd>
tag describes each term.
An example description list is shown below: