What is the difference between <button> tag and <input type=button> ? | Sololearn: Learn to code for FREE!

+1

What is the difference between <button> tag and <input type=button> ?

No Description Available 😓😓😓

8/19/2020 3:34:53 AM

Abir Sheikh

7 Answers

New Answer

+1

If you have to use img on button use button else use input type= button in form.

+6

the <button> tag needs a closing tag, but the <input> tag doesn't need a closing tag

+1

Himanshu Shah They Both Are Clickable 😓😓😓

+1

Abir Sheikh this may help you watch it once ://www.tutorialspoint.com/What-is-difference-between-button-vs-input-type-button

0

Abir Sheikh Input tag is not clickable but button tag is clickable Just make a program and use both tags and see the difference.

0

Abir Sheikh do you have made a program then send here

0

Himanshu Shah so, is it okay to use button tag instead of input tag in a HTML form?