What is HTML accept-charset Attribute?

HTML, HTML Attributes , 0 Comments

The accept-charset attribute indicates the encoding characters to be used for submitting the form.

The default value of accept-charset attribute is UNKNOWN (there is no default value of this attribute), and it’s mean that encoding equals the encoding of the document containing the <form> element.

You can use accept-charset attribute with the form tag.

Example

<form accept-charset="value">
  ...
</form>

Syntax

<form accept-charset="ISO-8859-1">
  ...
</form>

Attribute Value

The common value of encoding attribute is: UTF-8, ISO-8859-1

Browser Support

Attribute
accept-charsetYesYesYesYesYes
Spread the love

Leave a Reply

avatar
  Subscribe  
Notify of