Form tag has Action attribute whose value is the name of the CGI program that will execute on the server when the form data is submitted back to the server. Method attribute indicates how the data is to be submitted. Note that the form works the same in the browser without the Action and Method attributes.
<form action="/cgi-bin/showdata.pl" method="post">
This action is at the same server this page came from.
Normally with a form you have an Action atribute which has the URL of
the CGI script that will be be run by the server when it gets the
form's submitted data.
A form could instead be submitted by email using the mailto action:
<form action="mailto:whoever@asdfasdf.com" method="post" enctype="text/plain">
The received email will be URL-encoded (i.e. messy looking).
If you don't want the form to be submitted to a CGI script you can
leave the Action and Method attributes out of the Form tag.
<form>
Clicking the Submit button then merely resets the form.