Easy Tutorial
❮ Prop Url Disabled Prop Style Columnfill ❯

delcite Attribute

del Object

Example

Returns the URL document address that explains the text deletion:

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 text deletion.

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 deleted. <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 Pages

HTML Reference: HTML <del> cite Attribute


del Object

❮ Prop Url Disabled Prop Style Columnfill ❯