HTML <ol> start Attribute

Last Updated : 23 May, 2026

The HTML <ol> start attribute is used to specify the starting number of an ordered list.

  • Used with the <ol> tag.
  • The list numbering begins from the specified value.
  • Helpful when continuing numbering from a previous list.

Syntax: 

<ol start="number"> 

Attribute Values: It contains the numeric value which specifies the start value of the first list item of the Ordered list. 

Example: Illustrates the use of start attribute in the <ol> element. 

html
<!DOCTYPE html>
<html>

<head>
    <title>HTML ol start Attribute</title>

    <style>
        h1 {
            color: black;
        }

        h2 {
            color: green;
        }
    </style>
</head>

<body>

    <h1>GeeksForGeeks</h1>

    <h2>HTML ol start Attribute</h2>

    <p>Sorting Algorithms</p>

    <ol start="7">
        <li>Bubble sort</li>
        <li>Merge sort</li>
        <li>Quick sort</li>
    </ol>

</body>

</html>
Comment