Chapter 2 Answer Key

The Head and the Body

🎉 Excellent work! Let's review your answers together.


Fill in the Blanks

1. The html tag contains everything.

2. The head section stores page information.

3. Visible content is written inside body.

4. Most tags have opening and closing parts.


Match the Pairs

Opening TagClosing Tag
A. <html>3. </html>
B. <body>1. </body>
C. <head>4. </head>
D. <title>2. </title>
Answers:

A → 3
B → 1
C → 4
D → 2

Taggy Challenge

Why do you think closing tags are important?

✅ Closing tags tell the browser where an element ends and help keep the webpage structure organized.


Arrange the Structure

Correct Order:

<html>
<head>
</head>
<body>
</body>
</html>

Code Builder Practice

1. Which part will appear in the browser tab?
✅ My First Build

2. Which part shows content to users?
✅ Hello Builders!

3. Which tag starts the structure?
✅ <html>


Debug Mission

Mistakes Found:

✅ Missing </title>
✅ Missing </html>

Corrected Structure:

<html>
<head>
<title>Webville Build</title>
</head>

<body>
Welcome
</body>

</html>

Builder Bonus Challenge

✅ Did the title appear correctly? Yes

✅ Did "Welcome" appear on the webpage? Yes


Mini Build Challenge

Sample Answer:

<html>

<head>
<title>My Web Page</title>
</head>

<body>
Welcome to my webpage!
</body>

</html>

Quick Check

1. What is the outermost tag in HTML?
✅ <html>

2. Why do we close tags?
✅ To show where an element ends and keep the structure correct.

3. Which section shows webpage content?
✅ <body>


🏆 Builder Badge Earned

Webville Structure Builder

Congratulations! You successfully built your first webpage skeleton.