enctype attribute | enctype property
Sets or retrieves the encoding type for the form.
the format of the data being submitted by the form.
Default. Input control names and values are URL encoded. The name is separated from the value by '=' and name/value pairs are separated from each other by '&'.
Used for submitting forms that contain files, non-ASCII data, and binary data.
Obsolete. No encoding, for browser compatibility only.
The ENCTYPE attribute of the form specifies how the HTTP request should be encoded. All GET requests are submitted as application/x-www-form-urlencoded. The value of multipart/form-data is required (with a POST request) to submit a file to the server. The value of text/plain forces the request to be POST.