HTML Lists are used to specify lists of information. All lists may contain one or more list elements. There are three different types of HTML lists:
Ordered List or Numbered List (ol)
Unordered List or Bulleted List (ul)
Description List or Definition List (dl)
In the ordered HTML lists, all the list items are marked with numbers by default. It is known as numbered list also. The ordered list starts with
<ol> <li>Mango</li> <li>Orango</li> <li>Banana</li> <li>Pineapple</li> </ol>
- Mango
- Orango
- Banana
- Pineapple
In HTML Unordered list, all the list items are marked with bullets. It is also known as bulleted list also. The Unordered list starts with
<ul> <li>Mango</li> <li>Orango</li> <li>Banana</li> <li>Pineapple</li> </ul>