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