The method
attribute determines the HTTP method used for submitting form data.
Form data can be sent as URL variables using method="get"
or as an HTTP post transaction using method="post"
.
By default, form data is submitted using the GET method.
Example
This example uses the GET method to submit the form data:
<form action=”/action_page.php” method=”get”> |
Example
This example submits the form data using the POST method:
<form action=”/action_page.php” method=”post”> |