ALL LESSONS Module 4

Lists in HTML: Ordered and Unordered

Apr 4, 2026 1 min read

Unordered Lists

Use <ul> for bullet-style lists and <li> for each list item.

Example

<ul>
  <li>List item 1</li>
  <li>List item 2</li>
</ul>

Ordered Lists

Use <ol> for numbered lists and <li> for each step.

Example

<ol>
  <li>Step 1</li>
  <li>Step 2</li>
</ol>

Styling Tips

Lists are ideal for showing steps, features, or navigation items in a clean structure. You can style them with CSS to change bullet types, numbering styles, or spacing.

Need help with this lesson? Visit the Discussion Forum