HTML Lists 

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:

 

Ordered HTML List

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:

Example

Result

An Unordered HTML List

An Ordered HTML List

  1. Coffee
  2. Tea
  3. Milk

 

HTML <li> Tag

Definition and Usage

The <li> tag defines a list item.

The <li> tag is used inside ordered lists(<ol>), unordered lists (<ul>), and in menu lists (<menu>).

In <ul> and <menu>, the list items will usually be displayed with bullet points.

In <ol>, the list items will usually be displayed with numbers or letters.

 

HTML <dl> Tag

A description list, with terms and descriptions:

Example

Result

The dl, dd, and dt elements

These three elements are used to create a description list:

Coffee
Black hot drink
Milk
White cold drink