The <form> tag is used to create an HTML form for user input.
Imagine this – You have a page asking you to type your username and password. There is also a submit button. Now you want to make sure that on the click of the submit button a thank you page opens, you use the form tag.
The action attribute specifies where to send the form-data when a form is submitted. My next post will be an example.
|accept||MIME_type||Specifies the types of files that the server accepts (that can be submitted through a file upload)||STF|
|accept-charset||character_set||Specifies a list of character encodings that the server accepts||STF|
|Specifies how the form-data should be encoded when submitting it to the server (only for method=”post”)||STF|
|Specifies the HTTP method to use when sending form-data||STF|
|name||name||Specifies the name of a form||TF|
|Deprecated. Specifies where to display the response that is received after submitting the form||TF|