Easy Tutorial
❮ Att Iframe Marginheight Att Global Lang ❯

HTML <del> Tag

Example

A text segment with deleted and newly inserted parts:


Browser Support

All major browsers support the <del> tag.


Tag Definition and Usage

The <del> tag defines text that has been deleted in a document.


Tips and Notes

Tip: You can also look at the <ins> tag to see how inserted text is marked.

Tip: Using <del> and <ins> together describes updates and revisions in the document. Browsers typically add a strikethrough to deleted text and an underline to newly inserted text.


Differences Between HTML 4.01 and HTML5

None.


Attributes

Attribute Value Description
cite URL Specifies the URL of a document that explains the reason why the text was deleted.
datetime YYYY-MM-DDThh:mm:ssTZD Specifies the date and time when the text was deleted.

Global Attributes

The <del> tag supports HTML's global attributes.


Event Attributes

The <del> tag supports HTML's event attributes.

❮ Att Iframe Marginheight Att Global Lang ❯