When looking at most sites (including SO), most of them use:
<input type="button" />
instead of:
<button></button>
- What are the main differences between the two, if any?
- Are there valid reasons to use one instead of the other?
- Are there valid reasons to use combine them?
- Does using
<button>
come with compatibility issues, seeing it is not very widely used?
转载于:https://stackoverflow.com/questions/469059/button-vs-input-type-button-which-to-use