ins cite property
Example
Return the URL of the document explaining why the text was inserted:
var x = document.getElementById("myIns").cite;
x The output result is:
http://www.example.com/example/why_inserted.htm
Try it »
Definition and usage
The cite property is used to set or return the value of the cite property of the deleted text.
The cite attribute points to the URL of another document that explains the reason why the text was inserted or modified.
Note: The cite attribute has no visual effect in ordinary web browsers, but can be used by screen readers.
Browser support

All major browsers support the cite attribute.
Syntax
Return the cite attribute:
insObject
.cite
Set the cite attribute:
insObject
.cite=
URL
Attribute values
| Value | Description |
|---|---|
| URL | Defines the URL of the document explaining why the text was inserted or modified. |
Possible values:
Technical description
| Return Value: | String representing the URL of the source document |
|---|
More examples
Example
Modify the cite attribute value:
document.getElementById("myIns").cite="http://www.example.com/whyweinsertedsometext.htm";
Try it »
Related Articles
HTML Reference Manual: HTML cite attribute
ins Object