Skip to main content
🌐 HTML Basics

Page structure

You just read how a page nests its tags β€” now you'll fill one in. The skeleton is already there for you; you only need to add the <title> text and one <h1>.

A full HTML page has a <head> (metadata like the <title>) and a <body> (everything you see). The <title> is what shows in the browser tab.

<!DOCTYPE html>
<html>
  <head>
    <title>My Page</title>
  </head>
  <body>
    <h1>Hi!</h1>
  </body>
</html>

You don't have to type the whole skeleton β€” drop your title between the <title> tags and your heading inside the <body>. Tap the hint to fill it in one step at a time.

Your task

Write a document whose <title> is My Site and whose <body> contains an <h1> that says Home.

⚑ 30 XP

Hints

index.htmliframe
Loading editor…
Preview
Run your code to see test results.