A nested list is a list placed inside another list item. It helps organize information in a hierarchy, like chapters and subchapters in a book.
Click to reveal answer
beginner
Which HTML tags are used to create nested lists?
You use <ul> or <ol> tags inside a <li> tag to create nested lists. <ul> is for unordered (bulleted) lists, and <ol> is for ordered (numbered) lists.
Click to reveal answer
beginner
How does nesting lists help in real life?
Nesting lists helps show details clearly. For example, a grocery list can have categories like Fruits, and inside Fruits, you list Apples, Bananas, etc.
Click to reveal answer
intermediate
What is the correct way to nest an ordered list inside an unordered list?
Place the <ol> inside a <li> of the <ul>. For example: