HTML Lists & Organization
Organizing content makes it readable. HTML lists allow you to group related items, create rankings, and build navigation menus.
Unordered Lists
The <ul> tag is used when the order of items does not matter. Think of bullet points. Each item inside must be wrapped in an li (list item) tag.
Ordered Lists
The <ol> tag implies sequence. Steps in a recipe, directions, or a high score list. Browsers automatically number these items for you.
Nesting
You can put a list inside another list to create a hierarchy. To do this correctly, the child list (ul or ol) must be placed inside an <li> tag of the parent list.
View Full Transcript+
This section contains the full detailed transcript of the video lessons regarding UL, OL, LI, definition lists (DL, DT, DD), list attributes like type and start, and complex nesting rules for creating navigation menus.
