Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.5a is a product of Lussumo. More Information: Documentation, Community Support.

    •  
      CommentAuthorSpookyET
    • CommentTimeDec 21st 2005
     permalink
    What's the difference between the following:
    <button type="submit">Submit</button>
    <button type="reset">Reset</button>
    <input type="submit" value="Submit" />
    <input type="reset" value="Clear" />
    •  
      CommentAuthordroppyale
    • CommentTimeDec 21st 2005 edited
     permalink

    The BUTTON element defines a submit button, reset button, or push button. Authors can also use INPUT to specify these buttons, but the BUTTON element allows richer labels, including images and emphasis. However, BUTTON is new in HTML 4.0 and poorly supported among current browsers, so INPUT is a more reliable choice at this time.


    more info here:
    http://www.htmlhelp.com/reference/html40/forms/button.html

    and here:
    http://www.htmlhelp.com/reference/html40/forms/input.html
    •  
      CommentAuthorSpookyET
    • CommentTimeDec 21st 2005
     permalink
    A generic button using the button element seems to be supported well across the current browsers.
    • CommentAuthorArun
    • CommentTimeDec 21st 2005 edited
     permalink
    Thanks for comments
    • CommentAuthorpairacy
    • CommentTimeDec 25th 2005
     permalink
    gosh.. i never know there's a <button> tag.. does it valid under xhtml?
Add your comments
    Username Password
  • Format comments as (Help)