[whatwg] a and button

H=?iso-8859-1?B?5Q==?=kon Wium Lie howcome at opera.com
Sun Oct 19 05:57:43 PDT 2008

I'd like to have a simple way of using <button> along with <a> to
create pretty links. This markup works in Opera, Mozilla, and Webkit:

  <a href="http://www.w3.org/"><button>W3C</button></a>

but it's not valid HTML5 it seems. I propose to make it valid.

The inverse (a inside button) only works in Webkit.


              Håkon Wium Lie                          CTO °þe®ª
howcome at opera.com                  http://people.opera.com/howcome

More information about the whatwg mailing list