Page 93 - CA_165_V2.0_Flipbook
P. 93
Some ‘Value’ which are used with TYPE attribute, in <OL> tag are:
Type Value Style Series of Sequence
A Capital Alphabet A, B, C, D, ...
a Lowercase Alphabet a, b, c, d, ......
I Capital Roman Nos. I, II, III, IV, .....
i Lowercase Roman Nos. i, ii, iii, iv, ......
1 Arabic Numbers 1, 2, 3, 4, ......
Notes
The default value of Type starts with 1 in ordered list.
The default value of Type is disc in unordered list.
The syntax for using the <OL> tag is as follows:
<OL TYPE = "Value" START = "Value">
<LI> List 1
<LI> List 2
...............
</OL>
START Attribute
This attribute of <OL> tag is used to specify the beginning of value of a series of items from a particular
position. The value of START attribute must be given in Arabic Numbers only.
The following HTML code uses the <OL> tag to create two ordered lists with different numbering styles:
<HTML>
<HEAD>
<TITLE> Using Ordered List</TITLE>
</HEAD>
<BODY BGCOLOR = "PINK">
<H1> OpenOffice Suite</H1>
<OL TYPE = 'I'>
<LI> OpenOffice Writer</LI>
<LI> OpenOffice Calc</LI>
<LI> OpenOffice Impress</LI>
<LI> OpenOffice Draw</LI>
<LI> OpenOffice Base </LI>
</OL>
<OL TYPE = 'A' START = 5>
<LI> OpenOffice Writer</LI>
<LI> OpenOffice Calc</LI>
Introduction to HTML 91

