formEnctype attribute | formEnctype property
Used to override the encoding (formEnctype attribute) specified on the form element.
This property is read/write.
![]() ![]() |
Syntax
| HTML |
|---|
<element formEnctype="sEnctype" ... > |
| JavaScript |
|---|
object.formEnctype = sEnctype sEnctype = object.formEnctype |
Property values
Type: DOMString
String specifying one of the following:
application/x-www-form-urlencoded (default)
multipart/form-data
text/plain
Standards information
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.10.19.6
See also
Show:

