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