What is the difference between vs. of a HTML form? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


What is the difference between vs. of a HTML form?

NickFNickF USAPosts: 132Member

I came to know that many high traffic websites use: <input type="button" /> instead of: <button></button>.

Is it something to with SEO or browser compatibility?



  • DavidMDavidM USAPosts: 342Member

    From http://web.archive.org/web/20110721191046/http://particletree.com/features/rediscovering-the-button-element/

    As is, the input with the type=”submit” is either too ugly (Firefox), a little buggy (Internet Explorer) or completely inflexible (Safari). The solution for most is to use image inputs and create the damn things ourselves. And it’s unfortunate, because then we’re reduced to the tedious tasks of opening up Photoshop every time we’re in need of a new button. What we need is something better—something more flexible and meant for designers. Lucky for us, the solution already exists and all it needs is a little love. My friends, let me introduce you to my little friend : the <button> element.

Sign In or Register to comment.