prevent submission inside a form tag code example Example: prevent button form submit <button type="button">Button</button>