/

HTML / CSS / JavaScript Tutorial

HTML Standard attribute: accept-charset

[this page | pdf | back links]

The HTML accept-charset attribute specifies the character encodings used for submission of a <form> element.

 

Valid attribute values (when used with <form> elements) include:

 

Value

Description

character_set

Character encodings to be used when submitting the form

 

Common character_sets include:

 

-        UTF-8: Unicode

-        ISO-8859-1: character encoding for Latin alphabet

 

Multiple character_sets are acceptable and in HTML 5 need to be delimited (separated) by spaces. The default value is the reserved string UNKNOWN, which indicates that the encoding is the same as that for the document containing the <form> element.

 


NAVIGATION LINKS
Contents | Prev | Next | HTML Attributes


Desktop view | Switch to Mobile