Lists are used to group data in a certain order, or it can be ungrouped to display data in a sequential form.
Lists can be of the following types:
Unordered
Ordered
Unstyled
Inline
Description
An unordered list is a collection of items in which the order does not matter. Here is the syntax of an unordered list:
<ul> <li>...</li> <li>...</li> </ul>
An ordered list is a collection of items where the order does matter. Here is the syntax of an ordered list:
<ol> <li>...</li> <li>...</li> </ol>