[whatwg] a and button

On Sun, Oct 19, 2008 at 2:57 PM, H?kon Wium Lie <howcome at opera.com> wrote:
> 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.
>
> Cheers,
>
> -h&kon
>              H?kon Wium Lie                          CTO ??e(R)?
> howcome at opera.com                  http://people.opera.com/howcome
>

What's wrong with

<button style="text-decoration: underline; color:blue">W3C</button>

?

Received on Sunday, 19 October 2008 07:54:34 UTC