Action is a Form attribute that communicates with the common gateway interface (CGI) program to process.
For example, if you entered “bananas” to the following form:
<form action="../processor.cgi"> Please process this: <input name=food><br> <input type=submit> </form>
The HTML form would send the input “bananas” to the cgi script. To the cgi script, the action would look like: ../processor.cgi?food=bananas