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