W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2006

[whatwg] href on any element

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 29 Aug 2006 00:30:53 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0608290030030.10139@dhalsim.dreamhost.com>
On Mon, 28 Aug 2006, Anne van Kesteren wrote:
>
> On Mon, 28 Aug 2006 11:33:43 +0200, Lachlan Hunt <lachlan.hunt at lachy.id.au>
> wrote:
> > > It's arguably a very minor improvement,
> > 
> > The only benefit I'm aware of is the convenience it provides to authors for
> > hand coding, but that benefit is negligible when you consider the abilities
> > of many authoring tools these days.
> 
> Another thing that some author seem to want is to make an entire block a link,
> including its header and footer. Currently such things are solved with markup
> similar to:
> 
>  <a href="">
>   <span class="header"></span>
>   <span class="text"></span>
>  </a>

...or the currently non-conforming:

   <a href="">
    <h2>...</h2>
    <p>...</p>
   </a>

We could make it conforming, I guess. The parser already supports it to 
some extent.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 28 August 2006 17:30:53 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:28 UTC