Basic HTML

Advance HTML

HTML Tags Reference

HTML Code Generator

HTML Resource

HTML Ordered List




HTML <ol> tag define ordered list(list of Ordered items). HTML <ol> tag is a Container tag.

<ol> Tag Attributes

HTML <ol> tag specified Order list display list of item and its attribute help to change the type of order list.

Attributes Value Description
type 1
a
A
i
I
Arabic Number,
Lowercase alphabet,
Uppercase alphabet,
Lowercase Roman Numeral,
Uppercase Roman Numeral,
By default value is "1".
start "Start_Sequence_Number" define start sequence number of the list.

<li> Tag Attributes

<li> tag specified list items and its attribute help to change the type of order list.

Attributes Value Description
type 1
a
A
i
I
Arabic Number,
Lowercase alphabet,
Uppercase alphabet,
Lowercase Roman Numeral,
Uppercase Roman Numeral,
By default value is "1".
start "Start_Sequence_Number" define start sequence number of the list.

Example-Code:

<ol type="1" value="1">
 <li>Arabic Number</li>
 <li>Arabic Number</li>
</ol> 

<ol type="a" value="1"> <li>Lower Alphabet</li> <li>Lower Alphabet</li> </ol>
<ol type="A" value="1"> <li>Upper Alphabet</li> <li>Upper Alphabet</li> </ol>
<ol type="i" value="1"> <li>Lower Roman numeral</li> <li>Lower Roman numeral</li> </ol>
<ol type="I" value="1"> <li>Upper Roman numeral</li> <li>Upper Roman numeral</li> </ol>
Online Try This Code Your Self....   »

Example-Result:

  1. Arabic Number
  2. Arabic Number
  1. Lower Alphabet
  2. Lower Alphabet
  1. Upper Alphabet
  2. Upper Alphabet
  1. Lower Roman numeral
  2. Lower Roman numeral
  1. Upper Roman numeral
  2. Upper Roman numeral