-->

HTML page with nested list

<html> <!--is root tag/starting tag-->
<head> <!--used for meta tag-->
<title><!--used for title-->
understanding ordered list
</title>
</head>
<body><!--is container-->

<ol type="1" start="1">
<li>first country list</li>
<ol type="A" start="1">
<li>Nepal</li>
<li>India</li>
</ol><!--closing of ol tag-->
</ol><!--closing of ol tag-->
<ol type="1" start="2">
<li>second country list</li>
<ul type="circle">
<li>China</li>
<li>Japan</li>
</ul><!-- closing of ul tag-->
</ol> <!-- closing of ol tag-->
</body>
</html>

 

No comments:

Post a Comment