Tuesday, May 7, 2013

What is the difference between Html button and input type=button?

Almost same, but button with more rendering abilities.

Buttons created with the BUTTON element function just like buttons created with the INPUT element, but they offer richer rendering possibilities: the BUTTON element may have content. For example, a BUTTON element that contains an image functions like and may resemble an INPUT element whose type is set to “image”, but the BUTTON element type allows content.
The Button Element - W3C


No comments:

Post a Comment