You are here: HTML > Forms > <FORM ...>
Attribute for <FORM ...>
ACTION ="URL"
| Usage Recommendation |
Use it. |
ACTION gives the URL of the CGI program which will process this form. For example, the
CGI program "MyCGI" is located at http://www.amgy.com/cgi-bin/htmlhtml/html/mycgi.pl
(you can go directly to that URL). This form uses "MyCGI":
| this code |
produces this |
<FORM ACTION="http://www.amgy.com/cgi-bin/htmlhtml/html/mycgi.pl">
favorite color: <INPUT NAME=COLOR><BR>
<INPUT TYPE=SUBMIT>
</FORM>
|
|
When you click submit, your browser sends the form data to the CGI indicated in ACTION. See
Forms and CGI for more about CGI.
<FORM METHOD="..."> >>>
|