HTML - Lists (Overview)
Overview
Estimated time: 20–30 minutes
Lists organize items and terms. Use unordered lists for bullets, ordered lists for sequences, and definition lists for term/description pairs.
Examples
<ul><li>Item</li></ul>
<ol><li>First</li></ol>
<dl><dt>Term</dt><dd>Definition</dd></dl>
Common Pitfalls
- Using lists purely for indentation—prefer CSS for layout.
- Nesting lists without proper structure.