This can be a real basic question but what is the difference between <input type = "submit"> and <button onclick="">Example</button>?
It can't be done with function method in Javascript to achieve the same thing that the submit type button will? I always used <button></button> but I'd like to learn the difference.