Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

HTML DOM ins object


May 06, 2021 JavaScript with HTML DOM Reference book


Table of contents


HTML DOM ins object


The ins object

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

The element definition has been inserted into the text in the document.

Tip: Use with slt;del> and slt;ins> to describe updates and fixes in the documentation. The browser typically adds a line of deletion to the deleted text and an underscore under the newly inserted text.

Each of the hashtags in the HTML document creates an ins object.


Ins object properties

Attributes describe
cite Set or return the Cite property value inserted into the text.
dateTime Set or return to delete text's insert properties

Standard properties and events

The ins object also supports the standard properties and events.


Related pages

HTML tutorial: HTML text formatting

HTML Reference Manual: HTML slt;ins.gt; Tags

JavaScript Reference Manual: HTML DOM del Object