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