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