YouTip LogoYouTip

Prop Blockquote Cite

# Blockquote cite Attribute [![Image 8: Blockquote Object Reference](#) Blockquote Object](#) ## Example Return a citation source: var x = document.getElementById("myBlockquote").cite; The _x_ output will be: http://www.worldwildlife.org/who/index.html [Try it Β»](#) * * * ## Definition and Usage The cite property is used to set or return the value of the cite attribute of a citation. The cite property describes the URL source of the citation. **Note:** The cite property has no visual effect in regular web browsers, but can be used by screen readers. * * * ## Browser Support ![Image 9: Internet Explorer](#)![Image 10: Firefox](#)![Image 11: Opera](#)![Image 12: Google Chrome](#)![Image 13: Safari](#) The cite property is supported by all major browsers. * * * ## Syntax Return the cite property: _blockquoteObject_.cite Set the cite property: _blockquoteObject_.cite=_URL_ ## Property Values | Value | Description | | --- | --- | | _URL_ | The URL of the citation source. Possible values: * Absolute URL - Points to another website (e.g., cite="http://www.example.com") * Relative URL - Points to a page within the website (e.g., cite="example.html") | ## Technical Details | Return Value: | A string, the URL of the original document. | | --- | * * * ## More Examples ## Example Change the value of the cite attribute of a citation: document.getElementById("myBlockquote").cite="http://www.cnn.com/"; [Try it Β»](#) * * * ## Related Pages HTML Reference: [HTML
cite Attribute](#) [![Image 14: Blockquote Object Reference](#) Blockquote Object](#)
← Dom Obj QuoteDom Obj Blockquote β†’