THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

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():

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

Create an Ins Object

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

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

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