<del>
HTML DOM del object
del object
The del object represents text that has been deleted from the HTML document.
The <del> element defines the text in the document that has been deleted.
The <del> element is often used with the <ins> element to display different styles of old and new content. The browser will add a horizontal line and an underline to the content on the two tabs to distinguish the content.
Every <del> tag in an HTML document can create a del object.
del object properties
Attribute | Description |
---|---|
cite | Sets or returns the value of the cite attribute of the deleted text. |
dateTime | Sets or returns the value of the dateTime property of the deleted text. |
Standard Properties and Events
The del object also supports standard properties and events .
Related pages
HTML Tutorial: HTML Text Formatting
HTML Reference Manual: HTML <del> Tag
JavaScript Reference Manual: HTML DOM ins Object