enctype attribute | encoding property
Sets or retrieves the MIME encoding for the form.
Syntax
| HTML | <element enctype="p" ... > |
|---|---|
| JavaScript | |
Property values
Type: String
the format of the data being submitted by the form.
Remarks
Microsoft Internet Explorer 4.0 also recognizes multipart/form-data, which, along with a POST method, is required to submit a file upload to the server.
See also
Show: