W3C home > Mailing lists > Public > public-html@w3.org > August 2008

Re: Status of <a>

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 28 Aug 2008 22:37:16 +0000 (UTC)
To: Maurice <maurice@thymeonline.com>
Cc: "public-html@w3.org WG" <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0808282235030.7044@hixie.dreamhostps.com>

On Thu, 28 Aug 2008, Maurice wrote:
> 
> A few weeks ago I read something somewhere where a member of the group
> suggested allowing <a> to wrap any element without caring if it was a block or
> inline element.
> Which would allow for things like:
> 
> <a href="edit.php?id=41">
>   <tr>
>     <td>Article Title</td><td>Posted: 2008-08-06</td><td>Edit</td>
>   </tr>
> </a>
> 
> Instead of
> 
>   <tr>
>     <td>
>    <a href="edit.php?id=41">Article Title</a>
>     </td>
>     <td>
>     <a href="edit.php?id=41">Posted: 2008-08-06</a>
>     </td>
>     <td>
>     <a href="edit.php?id=41">Edit</a>
>     </td>
>   </tr>
> 
> 
> Is this actually being considered?

It's actually in the spec already, except that it doesn't handle putting 
links around <tr>s and <li>s, because doing those is unfortunately far 
more complex. But you can wrap <p>s and <header>s and such like.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 28 August 2008 22:48:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:22 GMT