Set the start value of an ordered list in HTML?

HTMLWeb DevelopmentFront End Technology

Use the start attribute to set the start value of an ordered list in HTML i.e.

<ol start = " ">

Add the value of where you want to start above.

Example

You can try to run the following code to implement the start attribute −

<!DOCTYPE html>
<html>
   <head>
      <title>HTML ol Tag</title>
   </head>
   <body>
      <p>Programming Languages Rank Usage:</p>
      <ol start = "5">
         <li>Java</li>
         <li>C++</li>
         <li>C</li>
      </ol>
   </body>
</html>
raja
Published on 14-Mar-2018 15:39:11
Advertisements