Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

enctype attribute | encoding property

Sets or retrieves the MIME encoding for the form.

Syntax

HTML<element enctype="p" ... >
JavaScript

p = object.encoding

 

Property values

Type: String

the format of the data being submitted by the form.

application/x-www-form-urlencoded

Default value.

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

form
action

 

 

Show:
© 2015 Microsoft