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

+10

<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

+7

https://www.sololearn.com/Discuss/1175621/button-vs-input-type-button

+5

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

+2

+1

good evening friend

+1

thanks Toni Isotalo

+1

good evening Sani Ibrahim

+1

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

+1

thnx Mickey Millz