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