Mark a newly added word as an insertion.
Acceptance criteria
- 1.Mark a newly added word as an insertion.
HTML Tutorial · HTML Tags
These 10 tasks go with the HTML <ins> 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 in HTML represents inserted or added text . Browsers typically display it with an underline to indicate new content. It is often used alongside to show revisions, edits, or updates. It is an inline element .” .
1.Mark added textexercise · easy · 10 min
Mark a newly added word as an insertion.
Passes when: Mark a newly added word as an insertion.
2.Insertion with a dateexercise · easy · 10 min · practice plan
Give the insertion a datetime attribute.
Passes when: Give the insertion a datetime attribute.
3.Insertion with a sourceexercise · easy · 10 min · practice plan
Point the insertion at the change note with cite.
Passes when: Point the insertion at the change note with cite.
4.Replace a priceexercise · 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.
5.Two additionsexercise · medium · 10 min · practice plan
Mark two inserted words in one sentence.
Passes when: Mark two inserted words in one sentence.
6.Fix the underline used for an insertionbug fix · easy · 8 min
Added text is ins, not u.
Passes when: Added text is ins, not u.
7.Fix the date attributebug fix · easy · 8 min · practice plan
Insertions record time in datetime.
Passes when: Insertions record time in datetime.
8.Fix the source attributebug fix · easy · 8 min · practice plan
The change note goes in cite.
Passes when: The change note goes in cite.
9.Fix the missing deletionbug fix · easy · 8 min · practice plan
A replacement shows both what went and what came.
Passes when: A replacement shows both what went and what came.
10.Fix the insertion marked as deletedbug fix · easy · 8 min · practice plan
New text is ins, not del.
Passes when: New text is ins, not del.
Between them these tasks cover Inserted text, Edits and Change tracking.
Looking for a different chapter? See every practice set, or switch to the interview theory questions.