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