×

html · level 1 · unit 4 · lesson 1

  1. meet it
  2. guess first
  3. your turn
  4. fix it
  5. nailed it

Tap a green word if you get lost.

meet it

<ul> makes a bullet , with one <li> per item.

A list is a group of related things, like a shopping list. Wrap the whole list in <ul>, short for , because the order of the things does not matter.

Each thing in the list is a , wrapped in <li> and </li>. The browser puts a bullet point in front of every item and starts each one on a new line.

Only <li> elements belong straight inside a <ul>. A new item needs a new <li>, not a new line in your code.

<h2>Shopping</h2>
<ul>
  <li>Eggs</li>
  <li>Flour</li>
  <li>Milk</li>
</ul>

Press show my page to see it here.

The two spaces before each <li> are only there to make the code tidy to read.