Blockquote citeProperty
Examples
Return a citation source:
var x = document.getElementById("myBlockquote").cite;
xThe output result is:
http://www.worldwildlife.org/who/index.html
Try it Yourself »
Definition and Usage
The cite property is used to set or return the value of the cite attribute of a quotation.
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 property:
blockquoteObject.cite
Set the cite property:
blockquoteObject.cite=URL
Property Value
| Value | Description |
|---|---|
| URL | The URL of the source of the quotation. Possible values:
|
Technical Details
| Return value: | A string, the URL address 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 Yourself »
Related Pages
HTML Reference Manual:HTML <blockquote> cite Attribute
Other Extensions
Blockquote Object