Challenge - 5 Problems
HTML Element Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate1:30remaining
Identify the correct definition of an HTML element
Which option best describes what an HTML element is?
Attempts:
2 left
💡 Hint
Think about what parts of HTML create the structure and content on a page.
✗ Incorrect
An HTML element consists of a start tag, content, and an end tag. It can also have attributes. It defines parts of the webpage like paragraphs, headings, links, etc.
📝 Syntax
intermediate1:30remaining
Find the valid HTML element syntax
Which option shows a valid HTML element syntax?
Attempts:
2 left
💡 Hint
Check if the element has both opening and closing tags correctly placed.
✗ Incorrect
A valid HTML element must have an opening tag and a matching closing tag. Option A correctly shows this.
❓ rendering
advanced2:00remaining
What will the browser display for this HTML element?
Given the HTML code below, what will the browser show on the page?
HTML
<strong>Welcome</strong> to the site!
Attempts:
2 left
💡 Hint
The tag makes text bold.
✗ Incorrect
The tag makes the enclosed text bold. So only 'Welcome' is bold, the rest is normal.
❓ selector
advanced1:30remaining
Which CSS selector targets all HTML elements of type ?
You want to style all elements on your page. Which CSS selector should you use?
Attempts:
2 left
💡 Hint
Think about how to select elements by their tag name in CSS.
✗ Incorrect
Using the tag name alone (article) selects all elements of that type. #article selects an element with id 'article', .article selects elements with class 'article'.
❓ accessibility
expert2:00remaining
Which HTML element and attribute combination improves accessibility for a navigation menu?
You have a navigation menu on your webpage. Which element and attribute combination best helps screen readers understand it?
Attempts:
2 left
💡 Hint
Consider semantic elements and ARIA labels for accessibility.
✗ Incorrect
The