Easy Tutorial
❮ Prop Style Columnrulecolor Event Oncanplay ❯

HTML DOM del Object


del Object

The del object represents text that has been deleted in an HTML document.

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

The <del> element is often used together with the <ins> element to show old and new content in different styles. Browsers typically add a strikethrough to the content of the <del> tag and an underline to the <ins> tag to differentiate the content.

Each <del> tag in an HTML document 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 Attributes and Events

The del object also supports standard attributes and events.


Related Pages

HTML Tutorial: HTML Text Formatting

HTML Reference: HTML <del> Tag

JavaScript Reference: HTML DOM ins Object

❮ Prop Style Columnrulecolor Event Oncanplay ❯