You can try using a tag <button>.
<button type="button" id="myButton">Click</button>
This is valid markup for HTML5. If you need this button, submit the form, you can change it to submit.
<button type="submit" id="myButton">Click</button>
source
share