Submitting data with a FORM element in HTML

It is possible to submit data in HTML page using <form> element. Form element has an option of how the data will be transmitted. It is done using form’s action parameter.

There are two ways of how form’s data can be submitted. It can be submitted using GET or POST request.

GET request will put form’s data in the URL. POST request will not.

GET requests have limit of about 2048 characters to be submitted, POST requests don’t have such limits, requests of any size can be submitted using POST.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator