Write a HTML program to demonstrate the use of <UL>&<OL> tag.
Code:ul-ol.html
<html>
<head>
<title>example of UL & OL</title>
</head>
<body>
<ul type="square">
<li>Continent</li>
<ul type="disc">
<li>Asia</li>
<ol type="I" start=”2”>
<li>Country</li>
<ol type="1" start=”2”>
<li>India</li>
<ol type="1" start=”8”>
<li>State</li>
<ol type="a" start=”5”>
<li>Gujarat</li>
<ol type="A" start=”5”>
<li>District</li>
<ul type="disc">
<li>Junagadh</li></ul>
</ol>
</ol>
</ol>
</ol>
</ol>
</ul>
</ul>
</body>
</html>
No comments:
Post a Comment