?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:

Computer Science & Information Technology

You might also like to view...

Which is not a typical application of queues?

a. Routing packets in a computer network. b. File server handling file access requests from many clients. c. High-speed sorting. d. Print spooling.

Computer Science & Information Technology

The ____ behavior determines if the visitor's browser is the correct type and version necessary to view all of the site features.

A. Call Script B. Check Browser C. Check Plug-in D. Open Browser Window

Computer Science & Information Technology