Marking Changed Text

Another set of logical tags that you might find useful are the ones for marking text that has changed from one version to the next. Lawyers and bloggers do this all the time.

To mark newly inserted text:

1.
Type <ins>.
2.
Type the new text.
3.
Type </ins>.

To mark deleted text:

1.
Place the cursor before the text you wish to mark as deleted.
2.
Type <del>.
3.
Place the cursor after the text you wish to mark as deleted.
4.
Type </del>.
Figure 4.17. You have to be a little bit careful to include the associated punctuation with the ins and del elements.

Figure 4.18. The changes become quite apparent.

✓ Tips

  • Text marked ...

Get HTML, XHTML, & CSS, Sixth Edition: Visual QuickStart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.