Forms can be used to gather information from your users. To be able to use forms, the server on which your site is located must provide CGI capabilities. CGI is a system of files that process data received from forms. There are two methods used by browsers to send information to a server. They are Post and Get .
Action Tells the browser what CGI program to use and where it is located.
In this example the code tells the browser to use the post method , and to use the cgi program, cgiprog.cgi , located in the cgi-bin directory or folder located on the server. Two required attributes are Type and Name . Type specifies the device used. Name A name assigned to the information or data collected by the input device. Value is the information chosen or entered by the user.