Challenge - 5 Problems
HTML Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate1:30remaining
What is the main purpose of HTML?
Choose the best description of what HTML does in web development.
Attempts:
2 left
💡 Hint
Think about what you see on a page before colors or interactions.
✗ Incorrect
HTML is the language that creates the structure of a web page. It tells the browser what parts are headings, paragraphs, images, and links.
📝 Syntax
intermediate1:00remaining
Identify the correct HTML tag for a paragraph
Which option shows the correct HTML tag to create a paragraph of text?
Attempts:
2 left
💡 Hint
HTML uses short tag names for common elements.
✗ Incorrect
The <p> tag is the standard HTML tag for paragraphs.
❓ rendering
advanced2:00remaining
What will this HTML code display in the browser?
Look at this HTML snippet and choose what the browser will show.
HTML
<!DOCTYPE html> <html lang="en"> <head><title>Test</title></head> <body> <h1>Welcome</h1> <p>This is a <strong>simple</strong> page.</p> </body> </html>
Attempts:
2 left
💡 Hint
Look for heading and paragraph tags and the tag meaning.
✗ Incorrect
The <h1> tag creates a large heading. The <p> tag creates a paragraph. The <strong> tag makes text bold.
❓ selector
advanced1:30remaining
Which CSS selector targets all paragraphs inside a section?
Choose the CSS selector that selects every
<p> inside a <section> element.Attempts:
2 left
💡 Hint
Think about how to select descendants in CSS.
✗ Incorrect
The selector section p selects all paragraphs inside any section, at any depth.
section > p selects only paragraphs that are direct children of section.
❓ accessibility
expert1:30remaining
Which HTML attribute improves accessibility for images?
Choose the attribute that helps screen readers understand images.
Attempts:
2 left
💡 Hint
This attribute provides a text description of the image.
✗ Incorrect
The alt attribute gives a text alternative for images, which screen readers read aloud for users who cannot see the image.