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