[whatwg] href on any element

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