×

html · level 1 · unit 2 · lesson 3

  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

<br> starts a new line and <hr> draws one.

Remember how pressing Enter does nothing on the page? A , <br>, starts a new line inside the same paragraph. It is perfect for poems and addresses.

<hr> draws a line across the page. Use it where the topic changes, like a pause between two scenes in a story.

Each one is an : there is nothing to wrap, so it has no closing tag. Write <br> on its own, never </br>.

<p>Roses are red,<br>
violets are blue.</p>
<hr>
<p>The end.</p>

Press show my page to see it here.

The <br> sits at the end of the poem's first line, right where the break goes.