Blockquote cite Property

Blockquote Object Reference Blockquote Object


Return the URL of a quotation:

var x = document.getElementById("myBlockquote").cite;

The result of x will be:

Try it yourself »

Definition and Usage

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.

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The cite property is supported in all major browsers.


Return the cite property:


Set the cite property:


Property Values

Value Description
URL Specifies the source URL of the quotation.

Possible values:
  • An absolute URL - points to another web site (like cite="")
  • A relative URL - points to a file within a web site (like cite="page.htm")

Technical Details

Return Value: A String, representing the URL of the source document

More Examples


Change the URL of a quotation:

document.getElementById("myBlockquote").cite = "";

Try it yourself »

Related Pages

HTML reference: HTML <blockquote> cite attribute

Blockquote Object Reference Blockquote Object


Color Picker