Re: Status of <a>

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 UTC