how to make a button in a form not submit code example Example: make html button not submit <button type="button">My Button</button>