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

Dnia 28-02-2008, Cz o godzinie 19:51 +0000, Philip Taylor pisze:

> Are there cases where <div ...><a href="..." style="display:block;
> width:100%; height:100%"> ... </a></div> is not adequate for making
> block links?

It does not make the anchor a block element, 
it is still a text element, although with block display.  
It cannot contain flow content.

>   <button type="submit" link="javascript:event.preventDefault()">

The URI is semantically incorrect because event is undefined.

Chris

Received on Tuesday, 4 March 2008 09:53:08 UTC