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 the following result −
This tag supports all the global attributes described in HTML Attribute Reference
The HTML <del> tag also supports the following additional attributes −
|cite||URL||Defines a URL to another document which explains why the text was deleted.|
|Defines the date and time the text was deleted.|
This tag supports all the event attributes described in HTML Events Reference