The HTMLFormElement.enctype property is the MIME_type of content that is used to submit the form to the server.
HTMLFormElement.enctype
MDN Reference