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