Open In App
Related Articles

HTML | start Attribute

Improve Article
Improve
Save Article
Save
Like Article
Like

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

Syntax: 
 

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

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

Example: 
 

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: 
 

start

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

  • Google Chrome 
  • Edge version 12 and above
  • Firefox version 1 and above
  • Internet Explorer 
  • Opera 
  • Safari 

 

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 21 Jun, 2022
Like Article
Save Article
Previous
Next
Similar Reads
Complete Tutorials