Core HTML

Ordered List Start

The starting value for an ordered list can be changed by setting the start attribute. The start value is given as a decimal number, regardless of which style of numbering we use to number the list. In the list below, we set the start value to 4, even though we are using uppercase Roman numerals for our numbering.

Commandments.html

<!DOCTYPE html>
<html>
<head>
    <title>XoaX.net's HTML Ordered List Example</title>
</head>
<body>
  <ol type="I" start="4"><b>The Commandments About Your Neighbor</b>
    <li>Honor your father and your mother.</li>
    <li>You shall not kill.</li>
    <li>You shall not commit adultery.</li>
    <li>You shall not steal.</li>
    <li>You shall not bear false witness against your neighbor.</li>
    <li>You shall not covet your neighbor's wife.</li>
    <li>You shall not covet your neighbor's goods.</li>
  </ol>
</body>
</html>
 

Output

 
 

© 2007–2024 XoaX.net LLC. All rights reserved.