The button element represents a button labeled by its contents.
A <button>
can contain phrasing content (except for other interactive content such as <input>
).
In my experience there's no problem using a <button>
instead of an <input type=button>
. IE7- will submit the <button>
's contents, which is odd. That's pretty much all you have to worry about, though.