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