HTML Form form tag
HTML forms are used to collect information from the user. Forms are defined using the form element, with its opening and closing tags.
Use the action attribute to point to a webpage that will load after the user submits the form.
The method attribute specifies the HTTP method (GET or POST) to be used when forms are submitted. When you use GET, the form data will be visible in the page address. Use POST if the form is updating data, or includes sensitive information (passwords). POST offers better security because the submitted data is not visible on the page address.
To take in user input, you need the corresponding form elements, such as text fields. The input element has many variations, depending on the type attribute. It can be a text, password, checkbox, date, radio, URL, submit, etc.
The placeholder attribute shows text when the input field is empty.
Specifies the character encodings that are to be used for the form submission
Specifies where to send the form-data when a form is submitted
|Specifies whether a form should have autocomplete on or off
|Specifies how the form-data should be encoded when submitting it to the server (only for method="post")
|Specifies the HTTP method to use when sending form-data
|Specifies the name of a form
|Specifies the relationship between a linked resource and the current document
|Specifies where to display the response that is received after submitting the form