Adding two method: GET and POST (#31049)

pull/32150/head^2
Regem Semilla 2018-12-12 00:25:54 +08:00 committed by Tom
parent d195348a8c
commit a873f06ef4
1 changed files with 4 additions and 1 deletions

View File

@ -88,7 +88,10 @@ A form will take input from the site visitor and then will post it to a back-end
The HTML `<form>` tag is used to create an HTML form and it has the following syntax The HTML `<form>` tag is used to create an HTML form and it has the following syntax
``` html ``` html
<form action = "Script URL" method = "GET|POST"> <form action = "Script URL" method = "POST">
form elements like input, textarea etc.
</form>
<form action = "Script URL" method = "GET">
form elements like input, textarea etc. form elements like input, textarea etc.
</form> </form>
``` ```