How to make lists in HTML

HTML lists are used to group related items in the form of a list.

Generally, we will be using two types of lists:

  • Ordered list
  • Unordered list

Ordered list

An ordered list has numbered elements. It is represented with the <ol> tag.

Unordered list

An unordered list has bulleted, not numbered, elements. It is represented with the <ul> tag.

Code

Free Resources