HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
The accept-charset attribute specifies the character encodings that are to be used for the form submission."
The accept-charset attribute specifies the character encodings that are to be used for the form submission.
The default value is the reserved string "UNKNOWN" (indicates that the encoding equals the encoding of the document containing the <form> element).
The accept-charset attribute can be used on the following element:
Element | Attribute |
---|---|
<form> | accept-charset |
A form with an accept-charset attribute:
<form action="/action_page" accept-charset="ISO-8859-1">
First name: <input type="text" name="fname"><br>
Last name: <input type="text" name="lname"><br>
<input type="submit" value="Submit">
</form>
Attribute | |||||
---|---|---|---|---|---|
accept-charset | Yes | Yes | Yes | Yes | Yes |