HTML DOM Ins Object

Ins object

The Ins object represents the HTML <ins> element.

Access Ins object

You can access the <ins> element using getElementById():

var x = document.getElementById("myIns");

Try it yourself

Create Ins object

You can create an <ins> element using the document.createElement() method:

var x = document.createElement("INS");

Try it yourself

INS object properties

Properties Description
cite Set or return the value of the cite attribute of the inserted text.
dateTime Set or return the value of the datetime attribute of the inserted text.

Standard Properties and Events

Ins Object Supports StandardsPropertiesAndEvents.

Related Pages

HTML Tutorial:HTML Text Formatting

HTML Reference Manual:HTML <ins> Tag

JavaScript Reference Manual:HTML DOM del Object