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