?Briefly explain the method to submit and process a form.
What will be an ideal response?
?After creating a form on a webpage, one needs to identify how to process the form and when to submit it. The action attribute of the tag is used to specify the action the browser takes when submitting the form. Browsers can send information entered in forms to a database on a web server or sent by email to an email address. Many websites use form processing software tools available from the web server. Another common way to transfer form information is through a Common Gateway Interface (CGI) script, a program written in a programming language (such as PHP or Perl) that communicates with the web server. The CGI script sends the information on the webpage form to the server for processing.
The method attribute of the tag specifies how to send the data entered in the form to the server to be processed. HTML provides two primary ways to send form data: the get method and the post method. The get method appends the name-value pairs to the URL in-dicated in the action attribute.
The following is an example of a form tag with the get method and specified action:
The post method sends a separate data file with the name-value pairs to the URL (or email address) indicated in the action attribute. The post method is the more common method be-cause it can be used to send sensitive form data and does not have a size limitation. The fol-lowing is an example of a form tag with the post method and specified action:
You might also like to view...
The syntax for declaring a streamwriter variable is ____.
A. [Dim | Private] streamWriterVariableName As IO.StreamWriter B. {Dim | Private} streamWriterVariableName As IO.StreamWriter C. {Dim | Private} streamWriterVariableName As IO.StreamWriteObject D. Private streamWriterVariableName As IO.StreamWriter
When using a touchscreen, you slide your finger to rearrange objects or items on the screen
Indicate whether the statement is true or false
If a check box is not selected, what value is contained in its Checked property?
a. true b. false
Describe the differences between the setTimeout() andsetInterval()methods, and specify the method you use to cancel each.
What will be an ideal response?