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