Thursday, April 29, 2010

Using STRAT and Value Attributes In An Ordered list, Ordered List HTML Code

The start attribute in an OL start tag is used to start the numbering sequence at a particular number. You can use the VALUE attribute in an LI tag to restart the numbering sequence at a particular number.

For Example: First start the numbering sequence at 3, and the restart it at 8, then enter the following commands.

OL STRAT=”3”>

LI> This Should Be Numbered AS 3.

LI> This Should Be Numbered AS 4.

LI VALUE=”8”> This Should Be Numbered As 8.

LI> This Should Be Numbered As 9.

/OL>

The numbering sequence will be started or restarted using the current TYPE attribute value.

0 comments:

 

blogger templates | M