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