Arikaturika Tumojenko8,897 Points
The difference between <input type="submit"> and <button type="submit">?
I had issues understanding why in the previous video we were styling elements that didn't exist on the page (respectively the button element) until I realized that <input type="submit" value="login"> it counts as a button.
In the "HTML forms" track (with Nick Pettit) I only saw this form
<button type="submit">Sign up</button>
IS there a real difference between them. Are they used in different circumstances? When do we use the input tag and when do we use the button tag? Thank you!