<button> Vs <input type="button"> | Sololearn: Learn to code for FREE!


<button> Vs <input type="button">

What is the difference between these two tags? where and when we can use it?

3/30/2018 9:51:10 PM

IG- @coffee.with.rj

8 Answers

New Answer




the difference is <input> should be used for forms while <button> should be used outside of forms or freely.



good evening friend


thanks Toni Isotalo


good evening Sani Ibrahim


no much difference though just dat the "input type=button" are based on forms


thnx Mickey Millz