Friday, 15 March 2013

css - Styling buttons - vs -


For the button, now I will call most people & lt; A & gt; Older & lt; Input type = "submit" & gt; or & lt; Input type = "button" & gt; What's the use of not using form elements?

Semantic markup.

The button is to submit a form, then & lt; Input type = "submit" & gt; Otherwise, if it is a link, then & lt; A & gt; best describes the structure of the element

No comments:

Post a Comment