[whatwg] href on any element

Ian Hickson ian at hixie.ch
Mon Aug 28 17:30:53 PDT 2006


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.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list