Web development

HTML del tag & ins tag

HTML del tag & ins tag

The HTML <del> element specifies the text that has been deleted from a document (browsers usually strike a line through the deleted text).

The HTML <ins> element specifies a text that has been inserted into a document (browsers usually underline inserted text).


<!DOCTYPE html>

<p>My favourite ice cream flavour is <del>strawberry</del> <ins>chocolate</ins>!</p>



My favourite ice cream flavour is strawberry chocolate!


cite (value- URL) – defines a URL to a document that explains the reason why the text was inserted/changed.

datetime (value- YYYY-MM-DDThh:mm:ss) – defines the date and time when the text was inserted/changed.

Enjoy coding!

Read also:

HTML progress tag

HTML pre tag