Web forms collect data from a user.
They may contain many input fields. A forms
action attribute states which URL the browser will request when the form is submitted. The
method attribute states which request method will be used in the request and where the input field data will be stored:
- GET - Input field data is sent in the url as query variables
- POST - Input field data is sent in the body of the request.