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