0
0
HTMLmarkup~20 mins

Head and body sections in HTML - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Head and Body Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
What is the purpose of the section in an HTML document?
Choose the best description of what the section contains and does.
AIt contains metadata, links to stylesheets, and scripts that help the browser understand the page.
BIt contains all the visible content that users see on the webpage.
CIt is used only to add comments and notes for developers.
DIt defines the footer content that appears at the bottom of the page.
Attempts:
2 left
💡 Hint
Think about what information helps the browser but is not shown directly on the page.
📝 Syntax
intermediate
2:00remaining
Which HTML snippet correctly places the title and a stylesheet link inside the ?
Select the snippet that correctly uses the section with a title and CSS link.
A
<head>
  <title>My Page</title>
  <link rel="stylesheet" href="styles.css">
</head>
B
<head>
  <h1>My Page</h1>
  <link href="styles.css" rel="stylesheet">
</head>
C
<head>
  <title>My Page</title>
  <style src="styles.css"></style>
</head>
D
<head>
  <title>My Page</title>
  <script href="styles.css"></script>
</head>
Attempts:
2 left
💡 Hint
Remember the correct tag and attribute names for linking CSS files.