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