Blockquote cite attribute
Example
Return a citation source:
var x = document.getElementById("myBlockquote").cite;
x The output result is:
http://www.worldwildlife.org/who/index.html
Try it »
Definition and Usage
The cite attribute is used to set or return the value of the cite attribute of a quote.
The cite attribute describes the URL source address of the quotation.
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:
blockquoteObject
.cite
Set the cite attribute:
blockquoteObject
.cite=
URL
Attribute values
| Value | Description |
|---|---|
| URL | The URL of the citation source.
Possible values: |
Technical description
| Return value: | A string, the URL of the original document. |
|---|
More examples
Example
Modify the cite attribute value of the quotation:
document.getElementById("myBlockquote").cite="http://www.cnn.com/";
Try it »
Related pages
HTML Reference Manual: HTML
cite attribute
Blockquote object