The Ins object represents an HTML <ins> element.
You can access an <ins> element by using getElementById():
You can create an <ins> element by using the document.createElement() method:
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 |
The Ins object also supports the standard properties and events.
HTML tutorial: HTML Text Formatting
HTML reference: HTML <ins> tag
JavaScript reference: HTML DOM del Object