HTML DOM delObject


del Object

The del object represents deleted text in an HTML document.

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

The <del> element is often used together with the <ins> element to display old and new content in different styles. In browsers, a strikethrough and underline are added to the content of the two tags to distinguish the content.

In an HTML document, each <del> tag creates a del object.


del Object Properties

Property Description
cite Sets or returns the value of the cite attribute of the deleted text.
dateTime Sets or returns the value of the dateTime attribute of the deleted text.

Standard Properties and Events

The del object also supports standardPropertiesandEvents。


Related Pages

HTML Tutorial:HTML Text Formatting

HTML Reference Manual:HTML <del> Tag

JavaScript Reference:HTML DOM ins Object

Other Extensions