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