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