Skip to: content, navigation

by Ian Lloyd

cite (HTML attribute)

Browser support full matrix
IE7 FF2 Saf3 Op9.5
None None None None
Spec
Depr. Version
No HTML 4
cite="URI"

Example

The cite attribute is shown below used in both the del and ins elements:

<p>Bernie enjoyed nothing more than a <del
cite="http://berniesworld.com/drag.html"
datetime="2007-11-05T23:31:05Z">night out on the town at his
favourite drag queen show</del> <ins
cite="http://berniesworld.com/drag.html"
datetime="2007-11-05T23:33:32Z">quiet night in with a warm cup of
cocoa</ins></p>

Description

The reason why content has been changed using the ins element can be explained in an external document, and you would use the cite attribute to point to that document.

Value

A reference to another document (URI).

Compatibility

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

None of the browsers in the support chart do anything useful with the cite attribute. It would be possible to use Dom scripting to retrieve this information for some purpose, but natively, the most that any of the browsers tested can do is demonstrated in Firefox (right-click, select Properties):

Firefox showing ins and del attributes in properties

However, given that there is no real visual clue that the ins or del content has anything extra to reveal, there can be few people on earth that would ever discover this information. And even when they do, the URI of the document is not clickable, nor is the date formatted in a friendly way.

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