Hello Html

The form element

HTML forms are used to collect information from the user. Forms are defined using the form element.

You can use the action attribute to point to a webpage that will load after the user submits the form.

Usually the form is submitted to a web page on a web server.

The method and name Attributes

The method attribute specifies the HTTP method (GET or POST) to be used when forms are submitted (see below for description):

Use POST if the form is updating data or includes sensitive information (passwords).

POST offers better security because the submitted data is not visible in 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, radio, URL, submit, etc.