ENCTYPE Attribute | encoding

HTML (DHTML)

ENCTYPE Attribute | encoding Property

Internet Development Index

Sets or retrieves the MIME encoding for the form.

Syntax

HTML<FORM ENCTYPE = sType... >
ScriptingFORM.encoding [ = sType ]

Possible Values

sTypeString that specifies or receives the format of the data being submitted by the form.

The property is read/write. The property has a default value of application/x-www-form-urlencoded.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

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.

Applies To

FORM

See Also

action