Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML DOM del Object

HTML DOM del Object


del Object

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

The element defines text that has been deleted from a document.

The element is often used together with elements to show old and new content in different styles. Browsers add a strikethrough to the content of one tag and an underline to the other to distinguish them.

In an HTML document, each tag can create a del object.


del Object Properties

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

Standard properties and events

The del object also supports standard property and Events.


Related pages

HTML Tutorial: HTML Text Formatting

HTML Reference Manual: HTML tag

JavaScript Reference Manual: HTML DOM ins Object