HTML CSS Reference/HTML Attributes Reference/encoding
"encoding" Example
<source lang="html4strict">
<HTML> <head> <Title>Example For encoding</Title> </head> <body onUnload="document.forms[0].reset()"> <form name="form1" method="post" action="" encoding="text/plain">
My Password: <input type="password" name="textfield" value="15151515"size="20"> <input type="button" name="Submit" value="Submit">
</form> </body> </BODY> </HTML>
</source>
encoding is applied to
<source lang="html4strict">
+----------------+--------------------------------------------------------------+ | Applied_To |<form> | +----------------+--------------------------------------------------------------+
</source>
"encoding" Syntax and Note
<source lang="html4strict">
Note:
This attribute sets the MIME encoding type. The default value is application/x-www-form-urlencoded.
Syntax:
<form enctype="value"> . . . </form> HTML <FORM ENCTYPE = sType... > Scripting FORM.encoding [ = sType ]
</source>