HTML ordered list tag

Last Updated on April 26, 2023 by Roshan Parihar

HTML ordered list tag is used to show information in the form of a list with the numbers at the start in each list item.

We can call this list as a numbered list.


Syntax

Output

List of pen companies:

  1. Peter Parker
  2. Sparkles
  3. Racer
  4. speedometer
  5. Reynold
  6. Finegrip

List of Type attribute options of HTML Ordered List

Sr. No. Type Attribute options Description
1 1 Used to show ordered number list with 1,2,3….
2 I Used to show ordered number list with uppercase Roman Letter.
3 i Used to show ordered number list with lowercase Roman Letter.
4 A Used to show ordered number list with Uppercase Alphabet Letter.
5 a Used to show ordered number list with lowercase Alphabet Letter.

Ordered list with type=”1″

It is Used to show numeric ordered list.

Output

List of best Comedy Characters:

  1. Mr. Beans
  2. The Three Stooges
  3. I Dream of Jinny

Ordered list with type=”I”

It is Used to show Uppercase Roman ordered list.

Output

List of Comedians:

  1. Sir Mr. Charlie Chaplin
  2. Dave Chappelle
  3. Jim Cherry
  4. George Carlie

Ordered list with type=”i”

It is Used to show Lowercase Roman ordered list.

Output

List of Comedy Serials:

  1. Dennis the Mennis
  2. Small Wonder
  3. Big Bang Theory

Ordered list with type=”A”

It is Used to show Uppercase Alphabet ordered list.

Output

List of Non-Veg Foods:

  1. Chicken Tandoor
  2. Chicken Roasted
  3. Mutton Fry

Ordered list with type=”a”

It is Used to show Lowercase Alphabet ordered list.

Output

List of best Sport Channels:

  1. Star Sports
  2. Ten Sports
  3. DD Sports

Resources and References of HTML ordered list tag

1. W3C Specification.
2. HTML living standard
3. W3C project using Github