Easy Tutorial
❮ Prop Element Offsetwidth Jsref Reduceright ❯

HTML DOM ins Object


ins Object

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

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

Tip: <del> and <ins> are used together to describe updates and corrections in the document. Browsers typically add a strikethrough to deleted text and an underline to newly inserted text.

Each <ins> tag in the HTML document creates 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 value of the datetime attribute of the inserted text.

Standard Attributes and Events

The ins object also supports standard attributes and events.


Related Pages

HTML Tutorial: HTML Text Formatting

HTML Reference: HTML <ins> Tag

JavaScript Reference: HTML DOM del Object

❮ Prop Element Offsetwidth Jsref Reduceright ❯