In this topic, we described about the <del> tag along with detailed example.
Used for editorial deletion. <del> tag represents the deleted text. <del> tag used to markup the deleted text rather than just being deleted. <del> tag markup the text as strike through the text.
Markup of deleted text can be useful in determining differences between multiple versions. The tag can be specified like <del></del> with the "deleted" text inserted between the opening and closing tags. <del> element is nested element.
<del>.. text here.. </del>
Optional Attributes -
|cite||Specifies the description link which can describe about the deletion.||URL.|
|datetime||Specifies the deletion date and time.This is optional.||YYYY-MM-DDThh:mm:ssTZD|
<!DOCTYPE html> <html> <head> <title>del tag text example.. </title> </head> <body> <p>This is <del>deleted</del> text</p> </body> </html>