html submit a form with a tag code example
Example 1: submit html
<input type="submit">
Example 2: how to use form on submit in html
<form onsubmit="myFunction()">
Enter name: <input type="text">
<input type="submit">
</form>
<input type="submit">
<form onsubmit="myFunction()">
Enter name: <input type="text">
<input type="submit">
</form>