The HTML <del> tag is used for markup of deleted text.
<!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
The HTML <del> tag also supports following additional attributes:
Attribute | Value | Description |
---|---|---|
cite | URL | Defines 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. |