When you’re uploading files you need to set the enctype of the form to ___.
Correct answer
C. multipart/form-data
16 views
C. multipart/form-data
16 views
When you are uploading files through a form in HTML, you need to set the enctype attribute of the <form> element to "multipart/form-data". This is necessary because file uploads require a different encoding type to handle binary data such as images, documents, etc.
Not sure why the answer is C? Ask here and get an explanation.