crus4

crus4

HTML Charset


HTML Charset or HTML Character Set helps the web browsers to display an HTML page correctly.

The Character Set or Character Encoding has various different types, which are:

ASCII

ASCII (American Standard Code for Information Interchange) was the first character encoding standard. This character encoding has 128 alphanumeric characters consisting of alphabets (A-Z), numbers (0-9) and some special characters like @, $, +, -, ( ) etc.

ANSI (Windows-1252)

ANSI (American National Standard Institute) was an extended version of ASCII character set. It was the original windows character set and supported by 256 characters.

ISO-8859-1 Character Set

It was the default character set for HTML 4. Like ANSI it also supports 256 different character codes.

UTF-8

The Character Set UTF-8 includes almost all characters and symbols. It was developed because the ISO-8859-1 character sets are limited.

The charset Attribute

As I already told you HTML Character Set helps the web browser to display the HTML page correctly.

We need to specify the character set in the <meta> tag.

Here is how we can specify it.

<meta charset="UTF-8">


Related Posts

Semantic HTML Elements

HTML Attributes

HTML Computer Code

HTML Charset – crus4

2 thoughts on “HTML Charset – crus4

Leave a Reply

Your email address will not be published.