Forms supply information that the form-taker wants. They don't just hand you a blank page and hope you type what they want.
On web sites, often you need forms. This enables you to collect data that you need.
The areas on a form are called fields or text fields. There are one-line fields and multiple line fields. Fields hold information that your users enter. In programming terminology such fields are know as text boxes. In a text box users can enter numbers, dates, and any kind of information.
In addition to fields many forms have command buttons that are also called buttons. Reset and send buttons are common examples.
By clicking the button, the users can clear all the fields or can send the information to you. All theses form elements are called collectively controls. You can also use check boxes, radio button and list boxes.
NOTE: Never put text "click me" of "click here" on a button. Assume the user is smart enough to know they can click.
Common Gateway Interface is one of the languages of commercial web sites because of the information those sites collect. But you don't have to run a business site to have forms.
CGI script runs on the server with your web page and determines where the form information goes.
Some usual targets are:
The goal obviously is to get the information back to you from the web server.
< form > < / form > tags surround the forms definition. Inside the