The <ol> tag inserts an ordered list, which is a block level element consisting of a sequence of numbered items, usually displayed with a number on the left margin.

 

 

<p>How it works!</p>

<ol>

<li>How</li>

<li>it</li>

<li>works.</li>

</ol>

 

 

 

The result of output:

 

 

How it works!

 

   1. How

   2. it

   3. works.

 

 

 

For the <ol> tag, you can specify the initial value using the start attribute.

 

 

<p>How it works!</p>

<ol start="100">

<li>How</li>

<li>it</li>

<li>works.</li>

</ol>

 

 

 

The result of output:

 

 

How it works!

 

   100. How

   101. it

   102. works.