Easy Tutorial
❮ Prop Element Clientheight Prop Style Letterspacing ❯

ins cite Attribute

ins Object

Example

Returns the URL document address that explains why the text was inserted:

x Output result:


Definition and Usage

The cite attribute is used to set or return the value of the cite attribute of the deleted text.

The cite attribute points to a URL of another document, which explains the reason for the insertion or modification of the text.

Note: The cite attribute has no visual effect in regular web browsers but can be used by screen readers.


Browser Support

All major browsers support the cite attribute.


Syntax

Return the cite attribute:

Set the cite attribute:

Attribute Values

Value Description
URL Defines the URL document address that explains why the text was inserted or modified. <br> <br>Possible values: Absolute URL - Points to another website (e.g., cite="http://www.example.com")<br> Relative URL - Points to a page within the website (e.g., cite="example.html")

Technical Description

| Return Value: | String, representing the URL address of the source document | | --- | --- |


More Examples

Example

Modify the cite attribute value:

Related Articles

HTML Reference: HTML <ins> cite Attribute


ins Object

❮ Prop Element Clientheight Prop Style Letterspacing ❯