HTML charset attribute
Charset (character set) attributes tell the browser that which character encoding should be used by the document. character encoding method is used to store or transmit the pages.
The value of this attribute forces the document to use "UTF-8" as encoding type.
There are many other types of character encoding but UTF-8 is recommended for the web content.
Attribute values
All possible values of charset attributeThe value of this attribute is the character encoding labels. The following are the types of charset (character set).
JIS_C6226-1983, JIS_X0212-1990, JOHAB, CESU-8, UTF-7, BOCU-1 and SCSU encodings should not be used for the web content.
Related Tags
The tags that support charset attributecharset attribute should be used only once in a page.