Skip to content
Related Articles

Related Articles

HTML | start Attribute
  • Difficulty Level : Basic
  • Last Updated : 22 Jul, 2019

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:




<!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
  • Internet Explorer
  • Firefox
  • Opera
  • Safari

full-stack-img

My Personal Notes arrow_drop_up
Recommended Articles
Page :