Horje

Full Example of HTML Control List Counting

By default, an ordered list will start counting from 1. Use the start attribute to start counting from a specified number:
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<h2>The start attribute</h2>
<p>By default, an ordered list will start counting from 1. Use the start attribute to start counting from a specified number:</p>

<ol start="50">
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ol>

<ol type="I" start="50">
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ol>

</body>
</html>

Output should be:

Full Example of HTML Control List Counting



Related Articles
What is HTML Lists HTML Lists
How to create HTML Lists HTML Lists
How to create Unordered HTML List HTML Lists
How to create Ordered HTML List HTML Lists
How to create HTML Description Lists HTML Lists
How to create Unordered HTML List - Choose List Item Marker HTML Lists
How to create Nested HTML Lists HTML Lists
How to create HTML Horizontal List with CSS HTML Lists
How to create Ordered HTML List - The Type Attribute HTML Lists
How to create HTML Ordered HTML List Number HTML Lists
How to create HTML Ordered Uppercase Letters HTML Lists
How to create HTML Ordered Lowercase Letters HTML Lists
How to create HTML Ordered Uppercase Roman Numbers HTML Lists
How to create HTML Ordered Lowercase Roman HTML Lists
How to create HTML Control List Counting HTML Lists

Single Articles
Set a maximum number of post revisions to avoid DB bloatHTML Lists

Type:
Html
Category:
Web Tutorial
Sub Category:
HTML Lists
Uploaded by:
Admin



Share on: