On Wed, 04 Jun 2008 17:06:39 +0200, Kevin McManus <k.mcmanus@gre.ac.uk> wrote: >> 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, StevenReceived on Wednesday, 4 June 2008 15:25:44 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 4 June 2008 15:25:44 GMT