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

HTML DOM ins Object

HTML DOM ins Object


ins Object

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

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

Tip: and Used together to describe updates and corrections to the document. Browsers typically add a strikethrough to deleted text and an underline to newly inserted text.

In an HTML document, each tag can create an ins object.


ins Object Properties

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

Standard properties and events

The ins object also supports the standard property and Events.


Related pages

HTML Tutorial: HTML Text Formatting

HTML Reference Manual: HTML tag

JavaScript Reference Manual: HTML DOM del Object