FOLLOW US ON TWITTER



FOLLOW US



img/blogimg/html5.jpg


@coder 914

HTML Encoding (Character Sets)


2021-11-17 20:00 · 21 min read

HTML Charsets

The web browser displays the numbers, alphabets, and some other symbols correctly. This is all possible because of the required character set that the web browser uses. The character set or character encoding has different character encoding standards which assign some numbers to these character sets that can be used on the internet.

ASCII

American Standard Code for Information Interchange (ANSII) designed this character encoding .It standard for electronic communication . This Encoding are used in C/C++ programming. It has 128 alphanumeric characters including alphabets(A-Z) and (a-z) and some special symbols like + – * / ( ) @ etc

ANSI(Windows-1252):

American National Standards Institute (ANSI) created character encoding. This character encoding supports 256 characters and it is the default character set in Microsoft Windows.

ISO-8859-1

It is used as the default character set of HTML4. It also represents 256 characters. If you create a text file in this encoding and try to copy/paste some Chinese characters, you will see weird results. So in other words, don't use it. Unicode has taken over the world and UTF-8 is pretty much the standard these days

UTF-8

UTF-8 and UTF-16 standards were developed by Unicode Consortium because the ISO-8859 character-sets are limited, and not compatible with a multilingual environment. It consists of all the character and punctuation symbols.

For Displaying HTML webpage correctly, you must have to tell the browser which character-set (encoding) to use:

<meta charset="UTF-8">Less than

For HTML5, the By default character encoding is UTF-8. The character encoding for the early web was ASCII.

For using different character encoding from UTF-8 can be specified in the <meta> tag:

<meta charset="ISO-8859-1">

 

NUMBERASCII ANSI ISO-8859-1 UTF-8DESCRIPTION
32 Space
33!Exclamation Mark
34"Quotation Mark
35#Hash Sign
36$Dollar Sign
37%Percent Sign
38&Ampersand Sign
39'Apostrophe Sign
40(Opening Paranthesis
41)Closing Parenthesis
42*Asterisk Sign
43+Plus Sign
44,Comma
45-Hyphen/minus Sign
46.Full-stop
47/Slash/Divide Sign
480Number Zero
491Number One
502Number Two
513Number Three
524Number Four
535Number Five
546Number Six
557Number Seven
568Number Eight
579Number Nine
58:Colon
59;Semicolon
60<Lessthan Sign
61=Equal to Sign
62>Greater than Sign
63?Question Mark
64@at Sign
65ALetter A
66BLetter B
67CLetter C
68DLetter D
69ELetter E
70FLetter F
71GLetter G
72HLetter H
73ILetter I
74JLetter J
75KLetter K
76LLetter L
77MLetter M
78NLetter N
79OLetter O
80PLetter P
81QLetter Q
82RLetter R
83SLetter S
84TLetter T
85ULetter U
86VLetter V
87WLetter W
88XLetter X
89YLetter Y
90ZLetter Z
91[Opening Square Bracket
92 Backslash
93]Closing Square Bracket
94^Circumflex Accent
95_Low Line
96`Grave Accent
97aLetter a
98bLetter b
99cLetter c
100dLetter d
101eLetter e
102fLetter f
103gLetter g
104hLetter h
105iLetter i
106jLetter j
107kLetter k
108lLetter l
109mLetter m
110nLetter n
111oLetter o
112pLetter p
113qLetter q
114rLetter r
115sLetter s
116tLetter t
117uLetter u
118vLetter v
119wLetter w
120xLetter x
121yLetter y
122zLetter z
123{Opening Curly Bracket
124|Vertical Line
125}Closing Curly Bracket
126~Tilde
TAGS:






POST COMMENTS
No Comment

Please login to post comment




POPULAR POSTS

best free web hosting services...
what is new in miui 11?...
free website ssl security using cloudfla...
do you want to make money online?...
CSS3 @IMPORT RULES...
What is HTML Anchor Tag and Hyperlinks?...
CSS3 RESPONSIVE UI...
How to host a web page in 10 minutes....
Tables HTML...
CSS3 FUNCTIONS...
How to use CSS3 Overflow Property?...
CSS3 FILTERS...


RECENT COMMENTS

2022-03-05 11:05
By coder on XAMPP - MySQL shutdown unexpectedly | How to fix MySQL crash unexpectedly
2021-10-12 12:34
By abnongoke on do you want to make money online?
2021-10-12 12:34
By abnongoke on how to get a free website domain name?
2021-10-12 12:34
By solar panel for shed on what is new in miui 11?
2021-10-12 12:34
By solar panel for shed on best free web hosting services
2021-10-12 12:34
By amos tanui on free website ssl security using cloudflare


SOCIAL SHARE



FOLLOW US ON TWITTER



FOLLOW US ON FACEBOOK



FOLLOW US







Recent Blogs



Contact Us

Subscribe Our News-Letter



Kashipur, 244713
Uttarakhand, India



© blog.theprodevelopers.com 2024. All Rights Reserved. Powered by Pro Developer