HTML <del> Tag

Advertisements


Description

The HTML <del> tag is used for markup of deleted text.

Example

<!DOCTYPE html>
<html>
<head>
<title>HTML del Tag</title>
</head>
<body>
<p>Following text is deleted using <del>HTML del tag
</body>
</html>

This will produce following result:

Following text is deleted using HTML del tag

Global Attributes

This tag supports all the global attributes described in - HTML Attribute Reference

Specific Attributes

The HTML <del> tag also supports following additional attributes:

AttributeValueDescription
cite URLDefines a URL to another document which explains why the text was deleted.
datetime YYYYMMDD
HH:MM:SS
Defines the date and time the text was deleted.

Event Attributes

This tag supports all the event attributes described in - HTML Events Reference

Browser Support

ChromeFirefoxIEOperaSafariAndroid
YesYesYesYesYesYes

html_tags_reference.htm