![]() |
|
||||
HTML FormsWhat Is an HTML Form? An HTML form is a specially prepared HTML page. When displayed by a
browser it shows controls such as text boxes, check boxes and radio buttons,
with which a user can interact. For example, a questionnaire form may be
published on the web. Users can navigate to it in a way they do regular
internet browsing. When the browser renders the form, users fill in data
and submit the form. The data is then transmitted to the destination specified
in the form definition.
How HTML Forms Work? HTML forms utilize HTTP protocol. A form, after being filled by a client, interacts with an HTTP server via either POST or GET methods. Thus, you need to configure the server in order to process the form. From the point of view of the client a form is an HTML document, which behavior is defined by HTML contained in it. For example, the URL of the processing server should normally be there denoted by the ACTION keyword. An HTML form on the client side is an HTML page, properly rendered by
the browser. The browser takes care about submitting a form to HTTP server.
|