Loading...
Level:Beginner

HTML Lists

Lists help you organize related items. HTML supports unordered lists (bullets), ordered lists (numbers), and nested lists.

List Elements

  • <ul>: unordered list (bullet points)
  • <ol>: ordered list (numbers by default)
  • <li>: list item (the individual item inside ul/ol)
  • Lists are great for navigation menus, steps, features, and grouped content.

Nested Lists

  • You can place a <ul> or <ol> inside an <li> to create sub-items.
  • Keep nesting shallow when possible—deep nesting hurts readability.

Lists Example

Loading...

Preview

Loading...
Loading...