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