If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Quick tip: HTML tags

Before you dive into the challenge, here's a quick review of HTML tags:
Diagram of an HTML tag anatomy
The closing tag always comes after the content of the tag - it's how the browser knows that you want the tag to end.
The contents of an HTML tag are the stuff that goes between the opening and closing tags - this is what we mean when we say "inside" a tag. The contents of a tag can be normal text or a mix of other tags.

Where should your tags go?

Any content that is visible on your web page should go between the opening <body> tag and the closing </body> tag, like in the screenshot below:
Screenshot of HTML code and diagram
The <h1> and <p> tags are the contents of the <body> tag, so we say they're "inside" the <body> tag. In fact, those tags must go inside the <body> tag, so remember that when you're writing your HTML in your first challenge. Try it out now!

Want to join the conversation?