Learn Html with Kbdk: Lists in Html
Lists
Lists are elements which are used to arrange data in the way the user wants.
There are two types of list :Ordered list and unordered list
To create a bulleted list you need to add a <ul> and a </ul> tag at the beginning and the end of the list.
Numbered lists have <ol> tags instead of <ul> tags.
To separate single list items use <li> and </li> tags.
<html>
<body>
<h4>A nested List:</h4>
<ol>
<li>Coffee</li>
<li>Tea</li>
</ol>
<ul>
<li>Black tea</li>
<li>Green tea</li>
<li>Milk</li>
</ul>
</body>
</html>