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