HTML start attribute

start attribute represents the custom starting value of the list item markers.

<p>I have visisted the following countries:</p>
<ol start="50">
 <li>Indonesia
 <li>Japan
 <li>UAE
 <li>UK
</ol>
</>

I have visisted the following countries:

  1. Indonesia
  2. Japan
  3. UAE
  4. UK

In the above example, the list item markers are numerical values starting from 50 instead of 1.

The numbering of items is increased by one. And the list items are numbered as (50,51,52,53,54...)

Attribute values

All possible values of start attribute

The value of start attribute is a valid positive integer.

The presence of reversed attribute decrements the numbering of items by one (50,49,48,47,46...)

The random values can be assigned to list item markers by value attribute.

Related Tags

The tags that support start attribute

<ol> tag represents ordered lists. Ordered lists are those where order of items is necessary for a list.



Was this article helpful?