The accept-charset attribute is used to define the character encoding and is used for form submission. The default value of accept-charset attribute is “UNKNOWN” string which indicates the encoding equals to the encoding of the document containing the <form> element.
<form accept-charset = "character_set">
Attribute Value: The attribute value contains the list separated value of one or more encoding attributes. The common value of encoding attributes are: UTF-8, ISO-8859-1. This attribute always associated with form element only.
Supported Browsers: The browser supported by accept-charset attribute are listed below:
- Apple Safari
- Google Chrome
- Internet Explorer