HTML Element Attributes
Specifies the source of a quotation.
Inline |
<element cite = strCitation ... > |
Script |
object.cite = strCitation |
strCitation | String representing the reference for the quote. |
The property is read/write with no default value.
The cite attribute usually represents a URL that designates a source document or message for the information quoted.
This attribute is intended to point to information explaining the context or the reference for the quote.
The cite attribute does not render with the quoted content, as it is primarily intended for private use by server-side scripts collecting statistics about a site’s use of quotations, not for readers.
Authors though may allow users to follow a text representation of the source using the CITE element.
Here, a <blockquote
> element is used in conjunction with a cite attribute as well as a representation of the citation using a <cite
> element.
<div>
<blockquote cite="http://somewhere.com">
Four score and seven years ago our fathers brought forth, upon this continent,<br>
a new nation, conceived in Liberty, and dedicated to the proposition<br>
that all men are created equal.
</blockquote>
~ Abraham Lincoln, <cite>The Gettysburg Address</cite>
</div>
Four score and seven years ago our fathers brought forth, upon this continent,
a new nation, conceived in Liberty, and dedicated to the proposition
that all men are created equal.
~ Abraham Lincoln, The Gettysburg Address
BLOCKQUOTE DEL INS Q