HTML lists allow web developers to group a set of related items in lists.

An Unordered HTML List

An unordered list starts with the <ul> tag. Each list item starts with the <li> tag. The list items will be marked with bullets (small black circles) by default.

An Ordered HTML List

  1. Coffee
  2. Tea
  3. Milk

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 unordered HTML list

HTML also supports description lists. A description list is a list of terms, with a description of each term. The <dl> tag defines the decription list, the <dt> tag defines the term (name), and the <dd> tag descibes each term.

An ordered HTML list

  1. Coffee
  2. Tea
  3. Milk

A Description List

Coffee
- black hot drink
Milk
- white cold drink