Attribute for <OL ...> START = integer

Attribute for <OL ...> START = integer

Posted 05/05/2009 - 07:00 by David Schnardthorst

Problem: 

When developing an <OL> style list in HTML, the list needs to start at a number other than 1

Solution: 

START tells the browser what number to start counting at. Generally you want to start at 1, but occasionally you may need to start at a higher number.

this code produces this
We now continue from yesterday:

<OL START=5>
<LI>Turn South at Highway 94
<LI>Follow to Weldon Spring
</OL>
We now continue from yesterday:

  1. Turn South at Highway 94
  2. Follow to Weldon Spring