Use strong for a genuinely important word.
Acceptance criteria
- 1.Use strong for a genuinely important word.
HTML Tutorial · HTML Text and Links
These 10 tasks go with the HTML Text Formatting chapter. 5 of them ask you to build something small from scratch; 5 give you code that is already broken and ask you to work out why. Set aside about 90 minutes for the whole set, though you can do them in any order.
Nothing here is marked by a person. When you press Submit, the editor checks your code against the points listed under each task and tells you straight away what passed and what didn't (you need a free account to submit). If you get stuck, there are hints, and a worked solution once you've had a go. The first 2 tasks are free; the rest are part of the practice plan.
If it's been a while since you read the chapter, here is how it starts: “HTML Text Formatting allows you to enhance and style text to emphasize meaning, highlight important parts, and improve readability. It combines basic formatting tags with semantic and accessible design to make content look more professional and meaningful.” .
1.Mark real importanceexercise · easy · 10 min
Use strong for a genuinely important word.
Passes when: Use strong for a genuinely important word.
2.Add stress emphasisexercise · easy · 10 min · practice plan
Use em to stress a word.
Passes when: Use em to stress a word.
3.Highlight a matchexercise · easy · 10 min · practice plan
Use mark to highlight a search term.
Passes when: Use mark to highlight a search term.
4.Add small printexercise · easy · 10 min · practice plan
Use small for a legal note.
Passes when: Use small for a legal note.
5.Show inserted and deleted textexercise · medium · 10 min · practice plan
Use del and ins to show an edit.
Passes when: Use del and ins to show an edit.
6.Fix bold used for importancebug fix · easy · 8 min
Use strong when the word genuinely matters.
Passes when: Use strong when the word genuinely matters.
7.Fix italics used for emphasisbug fix · easy · 8 min · practice plan
Stress emphasis belongs in em.
Passes when: Stress emphasis belongs in em.
8.Fix the span used for highlightingbug fix · easy · 8 min · practice plan
A highlighted match should use mark.
Passes when: A highlighted match should use mark.
9.Fix the deprecated strike elementbug fix · easy · 8 min · practice plan
Removed text uses del.
Passes when: Removed text uses del.
10.Fix the font elementbug fix · easy · 8 min · practice plan
The font element was removed from HTML.
Passes when: The font element was removed from HTML.
Between them these tasks cover strong and em, b and i and mark and small.
Looking for a different chapter? See every practice set, or switch to the interview theory questions.