html sub list code example
Example 1: html nested list
<!-- Creat a list inside list -->
<ul>
<li>Coffee</li>
<li>Tea
<!-- nested list -->
<ul>
<li>Black tea</li>
<li>Green tea</li>
</ul>
</li>
<li>Milk</li>
</ul>
Example 2: nested list html
<ul>
<!-- main item list -->
<li>Coffee</li>
<li>Tea
<ul>
<!-- items nested under tea -->
<li>Black tea</li>
<li>Green tea</li>
</ul>
</li>
<li>Milk</li>
</ul>
Example 3: list item nesting html'
<li>List Item</li>
<li>List Item</li>
<li>
List Item
</li><ul>
<li>List Item</li>
<li>List Item</li>
</ul>