Add the value above where you want to start. Example You can try running the following code to implement the start attribute- HTMLolTag <"/> Add the value above where you want to start. Example You can try running the following code to implement the start attribute- HTMLolTag <">

Home  >  Article  >  Web Front-end  >  Set starting value of ordered list in HTML?

Set starting value of ordered list in HTML?

王林
王林forward
2023-09-04 21:45:071499browse

Set starting value of ordered list in HTML?

Use the start attribute to set the starting value of the ordered list in HTML, that is:

<ol start = " ">

Add what you want above The value of the position to start from.

Example

You can try running the following code to implement the start property -

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

The above is the detailed content of Set starting value of ordered list in HTML?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete