HTML | start Attribute

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

Syntax:

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

Example:

filter_none

edit
close

play_arrow

link
brightness_4
code

<!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>

chevron_right


Output:
start

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

  • Apple Safari
  • Google Chrome
  • Firefox
  • Opera
  • Internet Explorer


My Personal Notes arrow_drop_up


If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.




Article Tags :
Practice Tags :


Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.