The action Attribute
The action Attribute
//this page contains a server-side script that handles the form data
<form action="/action_page.php">
Defines the action to be performed when the form is submitted.
If the action attribute is omitted, the action is set to the current page.