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