Filter (Advanced Search)
Downloads
1
Views
283
Video

Control List Counting | Lists

Details

By default, an ordered list will start counting from 1. If you want to start counting from a specified number, you can use the start attribute:


<!DOCTYPE html>
<html>
<head>
    <Title>Control List Counting</Title>
</head>
<body>
<h3>Control List Counting:</h3>
<ol start="10">
  <li>Monitor/ਮੋਨੀਟਰ </li>
  <li>Keyboard/ਕੀ-ਬੋਰਡ</li>
  <li>Mouse/ਮਾਊਸ </li>  
</ol>
</body>
</html>


Output


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

Ad