![]() |
VOOZH | about |
HTML form attributes define the behavior and properties of a form element. They include attributes like action for specifying where form data is sent, a method for the HTTP method used, and autocomplete for browser input suggestions, among others.
| Attribute | Description |
|---|---|
| Action Attribute | Specifies where to send the form data upon submission. |
| Target | Defines where to display the response after submission. |
| Method | Determines the HTTP method used for submitting the form. |
| Autocomplete | Enables browser autofill suggestions for form fields. |
| Novalidate | Disables client-side form validation when present. |
| Rel | Specifies the relationship between the current and linked document. |
| Accept-charset | Defines the character encoding used for form submission. |
| Enctype | Specifies how form data should be encoded for submission. |
Syntax:
<element form="form_id"> Example: In this example the HTML form with attributes:
Output:
Supported Browsers: The browser supported by HTML form Attribute are listed below: