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