• Loading . . .

WARNING

Are you sure you want to reset the challenge? You'll lose all changes you've made to the code.

HTML: The Language of the Web

Web pages are written in HTML:

  • Hyper
  • Text
  • Markup
  • Language

We'll worry about what those terms mean soon enough. To start, let's see an example.

What you see in the editor is HTML. It's just text with some special tags. They come in pairs, an opening and a closing tag:

  • <h1> and <\h1>
  • <p> and <\p>

To the side, in the "Web Page" tab, you can see what the browser makes of that HTML.

Try changing the text between the tags and clicking the ▶ button to update the page view. What happens if you remove the closing <h1> tag? What happens if you change the <h1> and <\h1> tags to <h2> and <\h2>?

After you've experimented a bit, click the ✓ button to move to the next challenge.