-->

HTML with ol tag

<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="a" start="6">
<!-- ol stands for ordered tag-->
<!--type can be 'a' or 'A' or 1 or I-->
<!--start is from 1 any other value-->
<li>grapes</li><!-- li is for list item-->
<li>Mango</li>
<li>Apple</li>
</ol><!-- closing of ol-->
</body>
</html>

 

No comments:

Post a Comment