HTML Form Attributes
All HTML topics∙ Chapter 66
HTML Form Attributes
Form attributes control where data goes and how it's sent. They live on the <form> tag.
| Attribute | Meaning | Example |
|---|---|---|
| action | URL that receives data | action="/signup" |
| method | HTTP method | method="post" |
| enctype | Encoding (uploads) | multipart/form-data |
| autocomplete | Browser autofill | autocomplete="on" |