W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2008

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

From: Krzysztof Żelechowski <giecrilj@stegny.2a.pl>
Date: Tue, 04 Mar 2008 18:53:08 +0100
Message-ID: <1204653189.6919.31.camel@a1dmin.vola.spe.com.pl>

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.

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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:01 UTC