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

[whatwg] a and button

From: Håkon Wium Lie <howcome@opera.com>
Date: Sun, 19 Oct 2008 14:57:43 +0200
Message-ID: <18683.11975.197518.790796@opera.com>
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
Received on Sunday, 19 October 2008 05:57:43 UTC

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