HTML del tag

HTML del tag

Mishel Shaji
Mishel Shaji

The HTML <del> tag is used to mark text that has been deleted from the document. The browser adds a line through the text specified within the del tag.


<del>This text is deleted.<del>

citeThis attribute can be used to specify the URI to the document that explains the reason for deletion.
datetimeThe date and time of deletion can be specified with this attribute


<!DOCTYPE html>
    <title>Delete Tag</title>
    <p>This is an example of <del>del</del> tag.</p>
    <p>This is an example of <del cite="reason.html" datetime="2018-10-12">deleted text</del>.</p>


This is an example of del tag.
This is an example of deleted text.