[whatwg] Proposal for a link attribute to replace <a href>

Robert O'Rourke rob at sanchothefat.com
Fri Feb 29 03:38:12 PST 2008

Philip Taylor wrote:
> On 28/02/2008, Shannon <shannon at arc.net.au> wrote:
>> A global attribute offers several features that <a>
>> does not - most importantly nested links and the ability to hyperlink
>> block and interactive elements without breaking validation.
> Are there cases where <div ...><a href="..." style="display:block;
> width:100%; height:100%"> ... </a></div> is not adequate for making
> block links?

If you could nest block elements inside <a> and have it validate then 
no. Would this be a possibility? Seems like it wouldn't be too difficult 
to implement if it's just a question of what validates and what doesn't.

I guess a global attribute isn't the right thing.

More information about the whatwg mailing list