| 1 |
<form action="/action_page.php"> |
| 2 |
<label for="fname">First name:</label> |
| 3 |
<input type="text" id="fname" name="fname"><br><br> |
| 4 |
<label for="lname">Last name:</label> |
| 5 |
<input type="text" id="lname" name="lname"><br><br> |
| 6 |
<input type="submit" value="Submit"> |
| 7 |
<input type="submit" formaction="/action_page2.php" value="Submit to another page"> |
| 8 |
<input type="submit" formaction="/action_page3.php" value="Submit to third page"> |
| 9 |
<input type="reset" formaction="/action_exit.php" value="Reset and continue"> |
| 10 |
</form> |