Return the URL to a document that explains why some text was deleted:
The result of x could be:
The cite property sets or returns the value of the cite attribute of a deleted text.
The cite attribute specifies a URL to a document that explains the reason why the text was deleted.
Note: The cite attribute has no visual effect in ordinary web browsers, but can be used by screen readers.
The cite property is supported in all major browsers.
Return the cite property:
Set the cite property:
Value | Description |
---|---|
URL |
Specifies the source URL to the document that explains why the text was
deleted. Possible values:
|
Return Value: | A String, representing the URL of the source document |
---|
Change the value of the cite attribute:
HTML reference: HTML <del> cite attribute