[whatwg] the cite element

2009/10/6 Hugh Guiney <hugh.guiney at gmail.com>

> On Tue, Oct 6, 2009 at 4:15 PM, Erik Vorhes <erik at textivism.com> wrote:
> > I suppose <a> allows for more functionality in current UAs, but this
> > is an interesting proposition, especially if there were a way to
> > crosslink <cite> used in this way to the original source (or whatever
> > it would point to). Would it be something along the lines of <cite
> > for="aside-id">, or did you have something else in mind?
>
> How about <cite cite="uri">, as it would have been in XHTML 2?
>

I don't know about others, but that just looks ugly to me (the repetition of
'cite' looks unnecessary). I know elegance isn't crucial, but given the
choice between <cite for=""> and <cite cite=""> I'd go for the former.

As a possibility though, <cite> could have a 'for' attribute in the same
manner as a label and also support a 'src' attribute to link the element to
the original source, giving:
<cite for="aside-id" src="uri">
What browsers do with the src attribute can be decided later, but it could
easily be used as a more semantically meaningful <a> tag where appropriate.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20091006/737ce0f8/attachment.htm>

Received on Tuesday, 6 October 2009 15:33:35 UTC