UTF-8
UTF-8 and UTF-16 standards was developed by Unicode Consortium, because the ISO-8859 character-sets are limited, and not compatible a multilingual environment. It consists all the character and punctuation symbols.
Attribute
Web browser must know the character encoding standard used in the html page and this we do as given below.
Example:
- HTML4
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
- HTML5
<meta charset="UTF-8">
Note:
- The first values from 0 to 127 are considered as the “Standard” ASCII character set.
- Characters with values from 128 to 255 are the “Extended” Character set.
HTML Charsets
HTML charsets define character encodings used by the document. The charset attribute within the <meta> tag specifies the character encoding for the HTML document, ensuring proper interpretation of text. Common values include UTF-8 and ISO-8859-1.
Contact Us