1 reply [Last post]
Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 5 years 4 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

Which is preferable/more semantic to use:
<input type = "submit" /> or <button type = "submit"></button>?

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

Tags:
Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 6 days ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5342
Points: 2963

&lt;input&gt; or &lt;button&gt;?

Hi Tyssen,
Semantically I don't think there is any real difference.
Buttons can give you a little more flexibility when styling.

Hope that helps