[whatwg] the cite element
workmad3 at gmail.com
Tue Oct 6 15:33:35 PDT 2009
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...
More information about the whatwg