Subscriber only lesson.
Sign up to this course to view this lesson.
It is possible to nest lists inside of lists.
When to use
Whenever you want to add sub-categories or expand your list items into their own lists, you can use nested lists.
To create a nested list, simply add another list <ol> or <ul> before, after, or inside a list item <li> and </li> of your current list.
<li>This is a nested list item 1</li>
<li>This is a nested list item 2</li>
Hints & tips
- You can nest lists inside of list items.
- You can nest as many lists inside of your list as you like.
- You can change the style of the nested list the same way you change the style of the main list.
- You can mix and match ordered and un-ordered lists (you can nest ordered lists inside un-ordered lists etc).
Lesson notes are only available for subscribers.