# HTML Encoding
● Character Encoding
ASCII was the first character encoding standard. ASCII defined 127 different alphanumeric characters that could be sued on the internet. numbers, English letters, and some special characters like ! $ + - ( ) @ < > .
ANSI (Windows-1252) was the original Windows character set, with support for 256 different character codes.
ISO-8859-1 was the default character set for HTML4. This character set also supported 256 different character codes.
Because ANSI and ISO-8859-1 were so limited, the default character encoding was changed to UTF-8 in HTML5.
UTF-8 ( Unicode ) covers almost all of the characters and symbols in the world.
ANSI (Windows-1252) was the original Windows character set, with support for 256 different character codes.
ISO-8859-1 was the default character set for HTML4. This character set also supported 256 different character codes.
Because ANSI and ISO-8859-1 were so limited, the default character encoding was changed to UTF-8 in HTML5.
UTF-8 ( Unicode ) covers almost all of the characters and symbols in the world.
● The HTML Charset Attribute
To display an HTML page correctly, a web browser must know the character set used in the page.
This is specified in the <meta> tag.
This is specified in the <meta> tag.
No comments:
Post a Comment