Lists in HTML

HTML supports two main types of lists: unordered lists and ordered lists.

The <ul> Tag

The <ul> tag is used to create an unordered list. Each item in the list is defined using the <li> (list item) tag.

The <ol> Tag

The <ol> tag is used to create an ordered list, where each item is numbered.

  1. First item
  2. Second item
  3. Third item
Next: Semantic Markup Previous: p and HTML