[whatwg] Proposal for a link attribute to replace <a href>
Krzysztof Żelechowski
giecrilj at stegny.2a.pl
Tue Mar 4 09:53:08 PST 2008
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
More information about the whatwg
mailing list