📚 › HTML: build the structure of a web page
5. Lists: ordered, unordered and nested
Este artículo se traducirá automáticamente. Por ahora se muestra en inglés.
An unordered list uses ul and shows bullets. An ordered list uses ol and shows numbers. Each item is an li element.
A list can sit inside another list item. This is called nesting, and it is how you build outlines and menus with sub-items.
Ver ejemplo
<ol>
<li>Wake up</li>
<li>Study
<ul>
<li>HTML</li>
</ul>
</li>
</ol>
✍️ Ahora te toca
Make an unordered list with Apples and Mangoes, and inside Mangoes add a nested list with Alphonso.