[whatwg] href on any element

Anne van Kesteren fora at annevankesteren.nl
Tue Sep 5 11:51:33 PDT 2006

On Mon, 04 Sep 2006 19:37:30 +0200, Keryx webb <webmaster at keryx.se> wrote:
> To make the whole LI-element clickable I have to resort to CSS
> ( ul#nav li a { display: block } ) which does not work in all browsers  
> or JavaScript, which also is a hassle.

Yeah, <li href="">test</li> does work in all browsers obviously. Seems  
like a good reason to put it in HTML5!

Anne van Kesteren

More information about the whatwg mailing list