HTML FormsLesson 46Free preview
Input Form Attributes
This lesson is part of HTML · All levels
Summary
In addition to the <input> element, some attributes can also be directly attached to the <form> element. For example, autocomplete to enable automatic filling suggestions, novalidate to disable validation, and target to determine where the results are opened. There are also accept-charsets and enctypes that govern how form data is sent to the server.
Key points
- Autocomplete sets the automatic filling suggestions on all forms
- Novalidate disables the browser's built-in validation
- Specify the target window/tab where the result is opened
- Enctype specifies how the form data is encoded when sent
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.