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