Skip to: content, navigation

by Ian Lloyd

cite (HTML element)

Spec
Depr. Empty Version
No No HTML 2
Browser support full matrix
IE5.5+ FF1+ Saf1.3+ Op9.2+
Full Full Full Full

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>
Type
inline element
Contains
inline elements only
Contained by
block-level elements, inline elements

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

Use This For …

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

Compatibility

IE5.5Full
6.0Full
7.0Full
Firefox1.0Full
1.5Full
2.0Full
Safari1.3Full
2.0Full
3.0Full
Opera9.2Full
9.5Full

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.

Add a note

To post a note on this topic, please log in with your SitePoint username and password. If you don't have an account yet, you can create a new account for free.

Related Products

The Principles of Beautiful Web Design

Best Seller!

You don’t need to go to Art School to design great looking web sites!

Book Cover: The Principles of Beautiful Web Design

Download the FREE sample chapters