0
Difference between input type="button" and button
What's the difference between the <button> and the <input type="button"> tag?
2 odpowiedzi
+ 3
Amiba for bit clarity, an input with type provided as 'button' is different from the <button> tag without having type attribute defined.
button tag has default type as "submit" for most of the browsers except some versions of IE.
So to use button tag for other purpose u need to provide type as button or use some js
0
There's no difference