HTML DOM Ins Object

Ins Object

The Ins object represents an HTML <ins> element.

Access an Ins Object

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

Example

var x = document.getElementById(“myIns”);

Try it Yourself »

Create an Ins Object

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

Example

var x = document.createElement(“INS”);

Try it Yourself »

Ins Object Properties

Property Description
cite Sets or returns the value of the cite attribute of an inserted text
dateTime Sets or returns the value of the datetime attribute of an inserted text

Standard Properties and Events

The Anchor object also supports the standard properties and events.

Post Author: Zahid Farid