×

html · level 1 · unit 2 · 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

The browser never shows an error. It guesses.

When your HTML has a mistake, the browser does not stop or complain. It makes its best guess and carries on. That sounds kind, but it means a can hide in plain sight.

Forget a closing tag and the browser has to guess where the element ends, often too late. Everything after it can end up inside, so a heading swallows a paragraph.

Misspell a tag, like <hedding>, and the browser does not know it. It ignores the label and shows the words as plain text.

<h1>My garden
<p>The tomatoes are growing.</p>

Press show my page to see it here.

The heading never closes here, so the paragraph ends up inside it and looks huge too.