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