Multi-Level List [5/17]
Creating a list with multiple levels is not a big trick.
To begin with, create a higher level list; then, take any item of this list (between the
</li> tags), and add a nested list inside of it. Please make sure to close all tags properly.
<ul> <li>1 <ul> <li>1.1</li> <li>1.2</li> </ul> </li> <li>2</li> </ul>
<ul> <li>1</li> <ul> <li>1.1</li> <li>1.2</li> </ul> <li>2</li> </ul>
In the erroneous code, the nested list has been inserted not within the upper-list item, but in-between the items, which is unacceptable.
You can have an unlimited number of levels in your list. Moreover, you can use both ordered and unordered lists in your multi-level list.
In this task, you will practice with multi-level lists.
- Add two more items to the nested "Heading Tags" list.
- Within the "List Tags" item, add an unordered nested list of two items.