W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2007

[whatwg] <cite> versus |cite|

From: Matthew Raymond <mattraymond@earthlink.net>
Date: Fri, 12 Jan 2007 06:51:05 -0500
Message-ID: <45A77629.8020305@earthlink.net>
   There's been some debate about the |cite| attribute versus the <cite>
element. There problem with the attribute is that it doesn't allow for
non-text content and isn't visible on legacy browsers. The problem with
the element is that there are no means of associating it with quotes or

   Well, why not overload the |cite| attribute so that it's valid to use
the URL for a <cite> element? Example:

| <p>
|   <q cite="#Hixie">How times have changed</q>, said
|   <cite id="Hixie">
|     <a href="http://ln.hixie.ch/?start=1163122250&count=1">
|       Ian
|     </a>
|   </cite>.
| </p>

   You could then have multiple |cite| attributes point to the same
<cite> element, and the <cite> element doesn't necessarily have to be in
close proximity, markupwise, to the referencing <q> or <blockquote>.
Received on Friday, 12 January 2007 03:51:05 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:51 UTC