W3C home > Mailing lists > Public > public-xhtml2@w3.org > June 2008

Re: block level anchor element content

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Wed, 04 Jun 2008 17:24:56 +0200
To: "Kevin McManus" <k.mcmanus@gre.ac.uk>, public-xhtml2@w3.org
Cc: "Mark Birbeck" <mark.birbeck@webbackplane.com>
Message-ID: <op.ub8c3ud5smjzpq@acer3010.ins.cwi.nl>

On Wed, 04 Jun 2008 17:06:39 +0200, Kevin McManus <k.mcmanus@gre.ac.uk>  
>> But still, it is worth pointing out to Kevin that XHTML2 does just what  
>> he
>> wants, but in a slightly different way: any element may have an href
>> attribute to turn it into a link. So:
>> 	<div href="teaching.html">....</div>
>> (And because of the confusion between HTML and CSS's different meanings  
>> of
>> 'block' and 'inline' we have renamed them 'text' and 'structure' in  
>> XHTML2)
> Aha!
> That is almost exactly what I want providing div also supports
> the tabindex attribute.

Yep (though also redefined in XHTML2 to make it wasier to use).

> If span also supports href and tabindex then presumably there
> is no need for anchors in XHTML2. That would clean up the
> spec. - or is it sacriligeous to even suggest deprecating
> anchors?

Long discussions have been had on the subject. We decided to keep them  
just for mindshare's sake. They also suggest a certain presentation that a  
div by itself doesn't.

Best wishes,

Received on Wednesday, 4 June 2008 15:25:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:30:30 UTC