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