In order to use an image as a form's submit button, I have come across two ways and would like to know which one is correct/best-practice.
Version 1:
<button type="submit"> <img src="mybutton.jpg" alt="Submit" /> </button> Version 2:
<input type="image" src="mybutton.jpg" border="0" alt="Submit" /> I personally feel that the first version is better because it makes semantic sense and has a type of "submit". In the second version its saying the input is of type "image" which doesn't mean much to me as a human.
Which one should I go with?