Mark removed text as deleted.
Acceptance criteria
- 1.Mark removed text as deleted.
HTML Tutorial · HTML Tags
These 10 tasks go with the HTML <strike> Tag 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: “The tag was historically used to display text with a strikethrough (line through the text). It is deprecated in HTML5 . The modern standard uses the or tags or CSS text-decoration: line-through; to achieve the same effect.” .
1.Mark a deletionexercise · easy · 10 min
Mark removed text as deleted.
Passes when: Mark removed text as deleted.
2.Mark something no longer accurateexercise · easy · 10 min · practice plan
Use s for text that is no longer relevant.
Passes when: Use s for text that is no longer relevant.
3.A price changeexercise · easy · 10 min · practice plan
Show the old price deleted and the new one inserted.
Passes when: Show the old price deleted and the new one inserted.
4.A struck list itemexercise · easy · 10 min · practice plan
Mark a completed item with s.
Passes when: Mark a completed item with s.
5.An edited sentenceexercise · medium · 10 min · practice plan
Show one word deleted and its replacement inserted.
Passes when: Show one word deleted and its replacement inserted.
6.Fix the strike elementbug fix · easy · 8 min
strike is obsolete; a removal is del.
Passes when: strike is obsolete; a removal is del.
7.Fix del used for something merely outdatedbug fix · easy · 8 min · practice plan
No longer accurate is s, not a deletion.
Passes when: No longer accurate is s, not a deletion.
8.Fix the missing replacementbug fix · easy · 8 min · practice plan
A price change shows both old and new.
Passes when: A price change shows both old and new.
9.Fix the line-through stylebug fix · easy · 8 min · practice plan
Use the element, not a text-decoration style.
Passes when: Use the element, not a text-decoration style.
10.Fix the edit with no insertionbug fix · easy · 8 min · practice plan
The new date was never marked as added.
Passes when: The new date was never marked as added.
Between them these tasks cover Deprecated elements, del vs s and Meaning.
Looking for a different chapter? See every practice set, or switch to the interview theory questions.