Page 213 - DCAP109_GRAPHIC_TOOLS
P. 213
Graphic Tools
Notes Output:
I. Coffee
II. Tea
III. Milk
Task Try the remaining combinations of the attributes for the ordered lists for a HTML
page.
9.4.2 Nested Order List
An ordered list that contains one or more ordered list is called as nested order lists.
Example: A
<html>
<body>
<ol>
<li>Sweet</li>
<li>Salty</li>
<ol>
<li>Very Salty</li>
<li>Lightly salted</li>
</ol>
<li>Bitter</li>
<li>Sour</li>
</ol>
</body>
</html>
Output:
1. Sweet
2. Salty
Very Salty
Lightly salted
3. Bitter
4. Sour
206 LOVELY PROFESSIONAL UNIVERSITY