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