Lists are created in HTML by using a tag for the whole list, and then each item in the list is enclosed in tags.
You can create a Tiered List by placing lists within a list.
list.html
<p>Unordered List</p>
<ul>
<li>item 1</li>
<li>item 2</li>
<li>item 3</li>
</ul>
<p>Ordered List</p>
<ol>
<li>item 1</li>
<li>item 2</li>
<li>item 3</li>
</ol>
<p>Tiered List</p>
<ul>
<li>item 1</li>
<ul>
<li>sub item</li>
<ul>
<li>sub sub item</li>
<ul>
<li>sub sub sub item</li>
</ul>
</ul>
</ul>
<li>item 2</li>
<li>item 3</li>
</ul>
Be the first to comment