Open In App

HTML | DOM Input Submit formEnctype Property

The Input Submit formEnctype Property in HTML DOM is used to set or return the value of the enctype attribute in a Submit Field. This attribute specifies the data that will be present in the form should be encoded when submitting to the server. This type of attribute can be used only if method = “POST”. It overrides the enctype attribute of a <form> element.

Syntax:



Article Tags :