Challenge - 5 Problems
Strong vs b Tag Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate1:30remaining
Difference in meaning between and
Which statement best describes the difference between the and tags in HTML?
Attempts:
2 left
💡 Hint
Think about how screen readers treat these tags.
✗ Incorrect
is used to mark text that is important or urgent, giving it semantic meaning. simply makes text bold visually without implying importance.
❓ rendering
intermediate1:30remaining
Visual output difference between and
What will be the visual output in a modern browser for this HTML snippet?
<p>This is <strong>important</strong> and this is <b>bold</b>.</p>
Attempts:
2 left
💡 Hint
Browsers usually style both tags as bold by default.
✗ Incorrect
By default, browsers render both and text as bold. The difference is semantic, not visual.
❓ accessibility
advanced2:00remaining
Screen reader behavior for vs
How do screen readers typically treat text inside compared to text inside ?
Attempts:
2 left
💡 Hint
Think about semantic importance and how assistive technology uses it.
✗ Incorrect
conveys importance, so screen readers often emphasize it. is purely visual and usually ignored by screen readers.
📝 Syntax
advanced2:00remaining
Correct usage of and in HTML
Which HTML snippet correctly uses and tags according to best semantic practices?
HTML
<p>Here is some <strong>important</strong> text and some <b>decorative</b> text.</p>
Attempts:
2 left
💡 Hint
Important content should use semantic tags.
✗ Incorrect
Use for important text to convey meaning, and for purely visual bold styling without importance.
❓ selector
expert2:30remaining
CSS selector targeting but not
Which CSS selector will apply styles only to elements but not to elements?
Attempts:
2 left
💡 Hint
Think about how to select only one tag type.
✗ Incorrect
The selector 'strong' targets only elements. The others either target or all elements except .