Professional Documents
Culture Documents
4
Web Design & Development
Table Level Attributes
• Forms provide a means of submitting information from the client to the server
• Form tag
• Common Form Attributes:
• action - gives the URL of the application that is to receive and process the
forms data
• method - sets the HTTP method that the browser uses to send the form's data
to the server for processing; Either POST or GET
• name – name of the form
8
Web Design & Development
Form Elements
<INPUT TYPE=“CHECKBOX”>
CHECKED
NAME
VALUE
<INPUT TYPE=“CHECKBOX” NAME=“CHECK” VALUE=“ CHECKED”>
• Web Form
• Requests contain the information displayed is as follows.
• URL: The address of the website of the resource.
• Method: The HTTP method. (GET, POST, HEAD, PUT, DELETE etc.)
• Received: The bytes received.
• Time: Time is taken to process the request.
• HTTP methods are some verb keywords which correspond to the request being
sent to the server. There are many request methods, however, some of commonly
used are listed below.
• GET: GET request is used to get resource from web-server. The resource can
be any type of file (i.e. a webpage).
• HEAD: HEAD method is very similar to the GET method. However, in the
HEAD method, the server does not return a response message.
• POST: Data is posted to the web server to perform some operations on it.
• PUT: PUT sends data to the web server to add new data on the web server.
• DELETE: DELETE is used to delete a resource from the web server.
15
Web Design & Development
References