HTML Worksheet: Page Structure
Code tip (Head for the browser, body for you): <!DOCTYPE html> first, then <html> with <head> and <body> inside. The head holds <title> (shown on the browser tab), <meta>, <style> and <link>. The body holds everything you see on the page.
NameDateTime takenScore ___ / 40
-
1.📄 What is the big heading shown on this page?
<!DOCTYPE html>
<html>
<head>
<title>Space Facts</title>
</head>
<body>
<h1>Planets</h1>
<p>Thanks for visiting.</p>
</body>
</html> (a) Thanks for visiting. (b) Space Facts (c) body (d) Planets - 2.True or false: <title> goes in the body. (a) False (b) True
- 3.Which of these goes in the body? (a) <link rel="stylesheet"> (b) <title> (c) <p> (d) <style>
- 4.📄 Where does <ul> go: in the head or in the body? (a) in the body (b) in the head
- 5.📄 Which part holds everything you see on the page? (a) the body (b) the head (c) the title (d) the doctype
- 6.📄 Where does <title> go: in the head or in the body? (a) in the body (b) in the head
- 7.Which of these goes in the body? (a) <h1> (b) <link rel="stylesheet"> (c) <style> (d) <title>
- 8.🔢 In a basic web page file, which comes FIRST? (a) <html> (b) <body> (c) </html> (d) <!DOCTYPE html>
- 9.📄 Where does <link rel="stylesheet"> go: in the head or in the body? (a) in the head (b) in the body
- 10.🔢 In a basic web page file, which comes LAST? (a) <!DOCTYPE html> (b) </html> (c) <html> (d) </head>
-
11.📄 What does the browser tab show for this page?
<!DOCTYPE html>
<html>
<head>
<title>My Hobbies</title>
</head>
<body>
<h1>All about me</h1>
<p>I like to read.</p>
</body>
</html> (a) My Hobbies (b) I like to read. (c) index.html (d) All about me -
12.📄 What does the browser tab show for this page?
<!DOCTYPE html>
<html>
<head>
<title>Class 7 Blog</title>
</head>
<body>
<h1>Welcome!</h1>
<p>Mars is red.</p>
</body>
</html> (a) Class 7 Blog (b) Welcome! (c) Mars is red. (d) index.html - 13.True or false: <link rel="stylesheet"> goes in the head. (a) False (b) True
- 14.True or false: <a> goes in the head. (a) False (b) True
-
15.📄 What is the big heading shown on this page?
<!DOCTYPE html>
<html>
<head>
<title>Riya’s Recipes</title>
</head>
<body>
<h1>Match report</h1>
<p>Thanks for visiting.</p>
</body>
</html> (a) Riya’s Recipes (b) Match report (c) body (d) Thanks for visiting. - 16.True or false: <ul> goes in the head. (a) False (b) True
- 17.Which of these goes in the head? (a) <table> (b) <link rel="stylesheet"> (c) <p> (d) <ul>
-
18.📄 What does the browser tab show for this page?
<!DOCTYPE html>
<html>
<head>
<title>Cricket Club</title>
</head>
<body>
<h1>Welcome!</h1>
<p>Try this poha.</p>
</body>
</html> (a) Try this poha. (b) Cricket Club (c) index.html (d) Welcome! - 19.📄 Where does the text of <title> appear? (a) on the browser tab (b) in a big heading (c) at the bottom (d) nowhere
- 20.🔢 In a basic web page file, which comes first: “</head>” or “<html>”? (a) </head> (b) <html>
- 21.🔢 In a basic web page file, which comes first: “</body>” or “</head>”? (a) </body> (b) </head>
- 22.📄 Where does <a> go: in the head or in the body? (a) in the body (b) in the head
- 23.True or false: <p> goes in the head. (a) True (b) False
-
24.📄 What is the big heading shown on this page?
<!DOCTYPE html>
<html>
<head>
<title>Art Gallery</title>
</head>
<body>
<h1>All about me</h1>
<p>Here is my best one.</p>
</body>
</html> (a) Here is my best one. (b) All about me (c) body (d) Art Gallery -
25.📄 What does the browser tab show for this page?
<!DOCTYPE html>
<html>
<head>
<title>Class 7 Blog</title>
</head>
<body>
<h1>All about me</h1>
<p>Mars is red.</p>
</body>
</html> (a) index.html (b) All about me (c) Mars is red. (d) Class 7 Blog -
26.📄 What does the browser tab show for this page?
<!DOCTYPE html>
<html>
<head>
<title>Cricket Club</title>
</head>
<body>
<h1>My drawings</h1>
<p>I like to read.</p>
</body>
</html> (a) index.html (b) Cricket Club (c) My drawings (d) I like to read. - 27.True or false: <table> goes in the head. (a) False (b) True
- 28.📄 Where does <meta charset="utf-8"> go: in the head or in the body? (a) in the body (b) in the head
-
29.📄 What is the big heading shown on this page?
<!DOCTYPE html>
<html>
<head>
<title>Space Facts</title>
</head>
<body>
<h1>Welcome!</h1>
<p>We won by 5 runs.</p>
</body>
</html> (a) We won by 5 runs. (b) Welcome! (c) Space Facts (d) body -
30.📄 What does the browser tab show for this page?
<!DOCTYPE html>
<html>
<head>
<title>Riya’s Recipes</title>
</head>
<body>
<h1>Match report</h1>
<p>Try this poha.</p>
</body>
</html> (a) Riya’s Recipes (b) Try this poha. (c) Match report (d) index.html -
31.📄 What is the big heading shown on this page?
<!DOCTYPE html>
<html>
<head>
<title>My Hobbies</title>
</head>
<body>
<h1>All about me</h1>
<p>Thanks for visiting.</p>
</body>
</html> (a) Thanks for visiting. (b) My Hobbies (c) All about me (d) body - 32.True or false: <link rel="stylesheet"> goes in the body. (a) True (b) False
- 33.📄 Where does <table> go: in the head or in the body? (a) in the head (b) in the body
- 34.Which of these goes in the head? (a) <img> (b) <ul> (c) <p> (d) <style>
-
35.📄 What does the browser tab show for this page?
<!DOCTYPE html>
<html>
<head>
<title>Riya’s Recipes</title>
</head>
<body>
<h1>My drawings</h1>
<p>Try this poha.</p>
</body>
</html> (a) index.html (b) Try this poha. (c) My drawings (d) Riya’s Recipes -
36.📄 What is the big heading shown on this page?
<!DOCTYPE html>
<html>
<head>
<title>Riya’s Recipes</title>
</head>
<body>
<h1>Easy snacks</h1>
<p>We won by 5 runs.</p>
</body>
</html> (a) body (b) We won by 5 runs. (c) Riya’s Recipes (d) Easy snacks -
37.📄 What does the browser tab show for this page?
<!DOCTYPE html>
<html>
<head>
<title>Cricket Club</title>
</head>
<body>
<h1>All about me</h1>
<p>We won by 5 runs.</p>
</body>
</html> (a) Cricket Club (b) All about me (c) We won by 5 runs. (d) index.html - 38.True or false: <style> goes in the body. (a) True (b) False
- 39.📄 What is the first line of an HTML5 page? (a) <body> (b) <!DOCTYPE html> (c) <head> (d) <html>
- 40.🔢 In a basic web page file, which comes first: “</html>” or “</head>”? (a) </head> (b) </html>
Answer key
- Planets
- False
- <p>
- in the body
- the body
- in the head
- <h1>
- <!DOCTYPE html>
- in the head
- </html>
- My Hobbies
- Class 7 Blog
- True
- False
- Match report
- False
- <link rel="stylesheet">
- Cricket Club
- on the browser tab
- <html>
- </head>
- in the body
- False
- All about me
- Class 7 Blog
- Cricket Club
- False
- in the head
- Welcome!
- Riya’s Recipes
- All about me
- False
- in the body
- <style>
- Riya’s Recipes
- Easy snacks
- Cricket Club
- False
- <!DOCTYPE html>
- </head>
Free html and css lessons, practice and worksheets at talentjr.in/html-css-for-kids