HTML Text Formatting — exercises and bug fixes
5 hands-on exercises and 5 find-the-bug challenges for the HTML Text Formatting lesson. Every one is checked automatically in the browser — write the code, run it, and the tests tell you what still fails.
Exercises(5)
- 1
Mark real importance
easy10 minUse strong for a genuinely important word.
- 2
Add stress emphasis
easy10 minUse em to stress a word.
- 3
Highlight a match
easy10 minUse mark to highlight a search term.
- 4
Add small print
easy10 minUse small for a legal note.
- 5
Show inserted and deleted text
medium10 minUse del and ins to show an edit.
Find the bug(5)
- 1
Fix bold used for importance
easy8 minUse strong when the word genuinely matters.
- 2
Fix italics used for emphasis
easy8 minStress emphasis belongs in em.
- 3
Fix the span used for highlighting
easy8 minA highlighted match should use mark.
- 4
Fix the deprecated strike element
easy8 minRemoved text uses del.
- 5
Fix the font element
easy8 minThe font element was removed from HTML.
Ready to write the code?
The editor, the automatic checks and the worked solutions open up with an account.
Open the workspace