Thursday, 30 May 2013

How to mark deleted and inserted text: HTML

We can mark/show a text as deleted with a strike across it, and newly inserted text with a selection. It can be done in HTML with the help of following tags.

Sample:

      <p>My favorite color is <del>blue</del> <ins>red.</ins>


Output:

     My favorite color is blue red.

No comments:

Post a Comment