cite (HTML element)

Spec
Depr. Empty Version
No No HTML 2
Browser support (more…)
IE5.5+ FF1+ SA1.3+ OP9.2+ CH2+
Full Full Full Full Full

Syntax

<cite>
</cite>

Description

The cite element has a very simple purpose: to identify the contained text as a reference to another source, be that a book, a play, a periodical publication, or even another web page or site. If you’re referencing a web page, you may also wish to create a link to the reference using the a element.

Most browsers will render cite content in italics, but this style can be overridden using CSS. The example shown above would appear in a browser as depicted in Figure 1.

Figure 1. The cite element in action Example of b element

Example

Selected works of Kurt Vonnegut are marked up in the example below:

<p>Kurt Vonnegut, author of such classics as <cite>Slaughterhouse
    5</cite>, <cite>Player Piano</cite>, and <cite>The Sirens of
    Titan</cite>, will be sorely missed by the literary world.</p>

Use This For …

This element is used to affect text content that comprises bibliographic references and references to web pages.

Compatibility

Internet Explorer Firefox Safari Opera Chrome
5.5 6.0 7.0 8.0 1.0 1.5 2.0 3.0 3.5 1.3 2.0 3.1 4.0 9.2 9.5 10.0 2.0
Full Full Full Full Full Full Full Full Full Full Full Full Full Full Full Full Full

The cite element has good browser support. All the major browsers render the affected content in italic type.

User-contributed notes

There are no comments yet.

Related Products