A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.geeksforgeeks.org/html/html-start-attribute/ below:

HTML start Attribute - GeeksforGeeks

HTML start Attribute

Last Updated : 11 Jul, 2025

The start attribute in HTML is used to specify the start value for numbering the individual list item. It is used with an ordered list.
Supported Tag:

Syntax: 

<ol start = "value"> list items...</ol>

Attribute Values: It contain a numeric value that defines the start value of the first list item in an Ordered list. 

Example: In this example we demonstrate the start attribute in an ordered list (<ol>), beginning numbering at 7 for the list of sorting algorithms, with centered headings and styled content.

html
<!DOCTYPE html>
<html>

<head>
    <title>HTML start Attribute</title>
    <style>
        h1,
        h2 {
            text-align: center;
        }
    </style>
</head>

<body>
    <h2 style="color: green;">
        HTML 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>

Output: 
 


Supported Browsers: The browser supported by start attribute are listed below: 



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4