HTML <del> Tag


The <del> HTML element is used to highlight text that has been deleted in the new version of the document. Such formatting allows you to track what changes in the text of the document were made. Browsers typically mark text in the <del> container as strikethrough.


Permitted Parents
Any element that accepts phrasing content
Any block, inline and text (but cannot contain block content when used as an inline element)
Start/End Tags
Start tag: required, End tag: required


<p>My favorite color is <del>blue</del> <ins>green</ins>!</p>


Attribute Definition
cite Specifies a URL to a document which explains why the text was deleted.
datename Specifies the date and time when the text was deleted.

Global Attributes

The <del> tag also supports the Global Attributes in HTML5

Event Attributes

The <del> tag also supports the Event Attributes in HTML5

Browser Support

Explorer Edge Chrome Firefox Opera Safari
Tablets / Mobile
Android Chrome Firefox Opera Safari Samsung

Last updated by CSSPortal on: 6th December 2019