CITE Attribute | cite

HTML (DHTML)

CITE Attribute | cite Property

Internet Development Index

Sets or retrieves reference information about the object.

Syntax

HTML<ELEMENT CITE = sCitation... >
Scriptingobject.cite(v) [ = sCitation ]

Possible Values

sCitationString that specifies or receives reference information.

The property is read/write. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

This property is designed to point to information (e.g., a Uniform Resource Identifier (URI)) that explains 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.

Example

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>
</HTML>

Standards Information

This property is defined in HTML 4.0 Non-Microsoft link and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

BLOCKQUOTE, Q, INS, DEL