Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Well done!
You have completed (UPI) Chapter 10: Utilizing Forms with JavaScript!
Instruction
A Special Case: Sending Files
Sending files with HTML forms is a special case. Files are binary data — or considered as such — whereas all other data is text data. Because HTTP is a text protocol, there are special requirements for handling binary data.
The Enctype Attribute
This attribute lets you specify the value of the Content-Type HTTP header included in the request generated when the form is submitte...