Return the URL of a quotation:
The result of x will be:
The cite property sets or returns the value of the cite attribute of a quotation.
The cite attribute specifies the source URL of a quotation.
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 of the quotation. Possible values:
|
Return Value: | A String, representing the URL of the source document |
---|
Change the URL of a quotation:
HTML reference: HTML <q> cite attribute