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