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