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