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