HTML DOM ins object

ins object

The ins object represents a text that has been inserted into an HTML document.

The <ins> element defines text that has been inserted into the document.

Tip: <del> is used together with <ins> to describe updates and fixes in the document. Browsers typically add a strikethrough over deleted text and an underline under newly inserted text.

An ins object can be created for each <ins> tag in an HTML document.

ins object attributes

citeSets or returns the value of the cite property of the inserted text.
dateTimeSets or returns the value of the inserted property for deletion text.

Standard Properties and Events

The ins object also supports standard properties and events .

Related pages

HTML Tutorial: HTML Text Formatting

HTML Reference Manual: HTML <ins> Tag

JavaScript Reference Manual: HTML DOM del Object