inside form button submitting code example
Example 1: html submit button
<input type="submit" value="Submit">
Example 2: prevent button form submit
<button type="button">Button</button>
<input type="submit" value="Submit">
<button type="button">Button</button>