Html – Why not always use enctype=”multipart/form-data”

enctypeformshtml

When building HTML forms why do we not always use enctype="multipart/form-data"?

Best Answer

multipart/form-data is a lot bulkier than application/x-www-form-urlencoded; the latter is just a bunch of keys and values (and can be parsed the same way whether for GET or POST), whereas the former requires full MIME support, and is thus more useful when you have data that can't simply be represented as key/value pairs.