action on submit button in html code example
Example 1: html submit button
<input type="submit" value="Submit">
Example 2: intput field submit button
<label for="fname">First name:</label><br>
<input type="text" id="fname" name="fname"><br>
<input type="submit" value="Submit">
<label for="fname">First name:</label><br>
<input type="text" id="fname" name="fname"><br>