HTM23


BACK

DESCRIPTION

OUTPUT

SOURCE CODE






DESCRIPTION:


     Can specify a particular starting value that will serve as the new base number for the rest of the items in the list, unless a subsequent item specifies another value.


..Back to the top..



OUTPUT:


HTM23. Ordered Lists with value attribute

Web page with three ordered lists

This ordered list uses Arabic (default) numbers
  1. First list item
  2. Second list item
  3. Third list item
  4. Fourth list item
This ordered list uses the value attribute in the list
  1. List item using uppercase alphabet letter
  2. List item using uppercase alphabet letter
  3. List item using uppercase alphabet letter
  4. List item using uppercase alphabet letter


..Back to the top..



SOURCE CODE:



<HTML>
<HEAD><TITLE>HTM23. Ordered Lists with value attribute</TITLE></HEAD>
<BODY>
<H1>Web page with three ordered lists</H1>
<!-- List uses default list number-->
This ordered list uses Arabic (default) numbers
<OL>
<LI>First list item
<LI>Second list item
<LI>Third list item
<LI>Fourth list item
</OL>
<!-- List uses uppercase alphabet letters-->
This ordered list uses the value attribute in the list
<OL >
<LI VALUE = 5> List item using uppercase alphabet letter
<LI> List item using uppercase alphabet letter
<LI> List item using uppercase alphabet letter
<LI> List item using uppercase alphabet letter
</OL>
</BODY>
</HTML>


..Back to the top..