Recall & Review
beginner
What is the purpose of the <head> section in an HTML document?
The <head> section contains information about the page like its title, links to stylesheets, scripts, and metadata. It does not show content directly on the page.
Click to reveal answer
beginner
What kind of content goes inside the <body> section?
The <body> section holds all the visible content of the webpage, such as text, images, links, and other elements that users see and interact with.
Click to reveal answer
beginner
Why should the <title> tag be placed inside the <head> section?
The <title> tag sets the page title shown in the browser tab and search results. It must be inside <head> so browsers can find and display it properly.
Click to reveal answer
intermediate
Can scripts be placed in both <head> and <body>? What is the difference?
Yes, scripts can be in both. Scripts in <head> load before the page content, which can delay showing the page. Scripts in <body> usually load after content, improving user experience.
Click to reveal answer
beginner
What is metadata and where is it placed in an HTML document?
Metadata is information about the webpage like author, description, and character set. It is placed inside the <head> section and helps browsers and search engines.
Click to reveal answer
Where should the <title> tag be placed in an HTML document?
✗ Incorrect
The tag belongs inside the section to set the page title shown in the browser tab.
Which section contains the visible content of a webpage?
✗ Incorrect
The section holds all the visible content users see on the webpage.
What is NOT typically found in the <head> section?
✗ Incorrect
Paragraph text is visible content and belongs in the , not the .
Why might scripts be placed at the end of the <body> section?
✗ Incorrect
Placing scripts at the end of lets the page content load first, making the page appear faster.
Which tag is used to specify the character encoding of the webpage?
✗ Incorrect
The tag inside sets the character encoding.
Explain the roles of the and sections in an HTML document.
Think about what the user sees versus what helps the browser.
You got /4 concepts.
Describe why metadata is important and where it should be placed in HTML.
Metadata is like the webpage's ID card.
You got /3 concepts.