1.

HTML Elements: Demarcating Edits

Answer»


  • <del>...</del>: A region of text that has been deleted from a document is represented by the HTML <del> element.


  • <ins>...</ins>: A range of text can be added to a document using the HTML <ins> element.

An example which shows the usage of the <del> element and <ins> element is given below:

<!DOCTYPE html>
<html>
<body>
<h1>Demo of the del element and ins element</h1>
<p>Her favourite colour is <del> green</del> <ins> magenta</ins>!</p>
</body>
</html>


Discussion

No Comment Found