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.


<form accept-charset="value">


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

Attribute Value

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

Browser Support

accept-charset Yes Yes Yes Yes Yes

Leave a Reply

Your email address will not be published.