when should we use it
Quentin's answer is right: use multipart/form-data
if the form contains a file upload, and application/x-www-form-urlencoded
otherwise, which is the default if you omit enctype
.
I'm going to:
- add some more HTML5 references
- explain why he is right with a form submit example
HTML5 references
…
Top comments (0)