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