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 Ins object also supports the standard properties and events.


Related Pages

HTML tutorial: HTML Text Formatting

HTML reference: HTML <ins> tag

JavaScript reference: HTML DOM del Object


Copyright 1999-2023 by Refsnes Data. All Rights Reserved.