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