W3C home > Mailing lists > Public > www-html@w3.org > April 2003

Re: [XHTML2] Poor little old <a>

From: Ernest Cline <ernestcline@mindspring.com>
Date: Thu, 10 Apr 2003 12:51:10 -0400
To: www-html@w3.org
Message-ID: <3E9568BE.10318.2A7322C@localhost>

Masayasu Ishikawa wrote:

> "Ernest Cline" <ernestcline@mindspring.com> wrote:
> 
> > I have an idea that might just revive a reason for <a>, nested <a>'s.
> 
> Current WG position is that unlike previous versions of (X)HTML,
> we do allow nested links in XHTML2, treated like nested XLinks
> in SVG.  As far as I know, various SVG implementations have no
> problem to handle nested XLinks.
> 
> > However, what if nested <a>'s were treated in a manner similar to 
> > <object>  That is, suppose we have the following XHTML fragment:
> > 
> > <a href="doc.pdf"><a href="doc.txt>The Document</a></a>
> 
> Another proposal is to use nested 'a' for one-to-many linking.
> You might want to have a look at Bob DuCharme's excellent
> demonstration [2] and his related article [3].  Yet another
> proposal is to allow a list of URIs for 'href' rather than
> a single URI.

I took a look at it just now , but unless the proposal was for a format 
where the user-agent could decide to open all the links at once, Bob's 
demonstration didn't seem to me to be any different from an <nl> with 
<a>'s inside each <li>.

With a list of URI's for href will also come the need for a list of 
MIME-types for type (or hreftype, since type is currently overloaded 
with multiple uses.)  Potentially bulky, if the author is allowed to 
specify a different group of acceptable types for each href, but not 
unmanageable.

> [2] http://www.snee.com/xml/linking/1toMdemo.xml
> [3] http://www.xml.com/pub/a/2003/03/05/tr.html
Received on Thursday, 10 April 2003 12:51:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:55 GMT