EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

cite attribute | cite property

Sets or retrieves reference information about the object.

Syntax

HTML<element cite="p" ... >
JavaScript

p = object.cite

Property values

Type: String

reference information.

Remarks

This property is designed to contain a Uniform Resource Identifier (URI) that points to information about why a document was changed, or about the source of a quotation.

There is no functionality implemented for this property unless defined by the author.

The value of the cite attribute for the del, ins, and q elements depends on the context of the reference to the attribute. When read as a Document Object Model (DOM) attribute, cite returns an absolute URL. The value specified by the document author is returned when cite is read as a content attribute, when the document is displayed in an earlier document compatibility mode.

Examples

The example shows the use of the cite property.


<html>
<body>
<q id="greatQuote" cite="http://www.Shakespeare.the.great.com">
To Be or Not to Be, That is the Question.</q>
</body>
</body>

See also

blockQuote
del
ins
q

 

 

Afficher:
© 2014 Microsoft