[whatwg] submit: button vs input
Anne van Kesteren
annevk at opera.com
Thu Jan 13 07:24:00 PST 2011
On Thu, 13 Jan 2011 16:21:17 +0100, Alan Plum <html5 at alanplum.com> wrote:
> is there any official recommendation for which element to use for form
> submission buttons?
>
> Historically, input has been preferred because of button's
> implementation differences in IE6. Now that IE6 support is becoming less
> and less of an issue for many websites, that argument is loosing
> importance and I've actually heard web design schools recommend using
> buttons instead.
>
> The "HTML5" spec doesn't seem to cover this issue at all. The WHAT WG
> HTML 5 spec's commenting tool uses input (type=button no less!), which
> indicates a certain preference, but again it's not clear whether this
> can be regarded as authoritative.
>
> Any input?
Both are fine.
> PS: Yes, that was a horrible pun.
Heh, I missed it initially.
--
Anne van Kesteren
http://annevankesteren.nl/
More information about the whatwg
mailing list