HTML ASCII Reference

Friday, February 24, 2012

ASCII stands for the "American Standard Code for Information Interchange". It was designed as a standard character set for computers and other devices. ASCII is a 7 bit character set containing 128 characters. The set contains the numbers from 0-9, uppercase and lowercase letters from A to z, and other special characters. The following table lists the 128 ASCII characters and their equivalent HTML entity codes. Please note that 0-31 and 127 cannot be used for HTML. That leaves us with 95 printable characters from this set.

ASCII Characters


ASCII CharacterEntity CodeEntity NameDescription
 -space
!!-exclamation mark
"""quotation mark
##-number sign
$$-dollar sign
%%-percent sign
&&&ampersand
''-apostrophe
((-left parenthesis
))-right parenthesis
**-asterisk
++-plus sign
,,-comma
---hyphen
..-period
//-slash
00-digit 0
11-digit 1
22-digit 2
33-digit 3
44-digit 4
55-digit 5
66-digit 6
77-digit 7
88-digit 8
99-digit 9
::-colon
;&#59;-semicolon
<&#60;&lt;less-than
=&#61;-equals-to
>&#62;&gt;greater-than
?&#63;-question mark
@&#64;-at sign
A&#65;-uppercase A
B&#66;-uppercase B
C&#67;-uppercase C
D&#68;-uppercase D
E&#69;-uppercase E
F&#70;-uppercase F
G&#71;-uppercase G
H&#72;-uppercase H
I&#73;-uppercase I
J&#74;-uppercase J
K&#75;-uppercase K
L&#76;-uppercase L
M&#77;-uppercase M
N&#78;-uppercase N
O&#79;-uppercase O
P&#80;-uppercase P
Q&#81;-uppercase Q
R&#82;-uppercase R
S&#83;-uppercase S
T&#84;-uppercase T
U&#85;-uppercase U
V&#86;-uppercase V
W&#87;-uppercase W
X&#88;-uppercase X
Y&#89;-uppercase Y
Z&#90;-uppercase Z
[&#91;-left square bracket
\&#92;-backslash
]&#93;-right square bracket
^&#94;-caret
_&#95;-underscore
`&#96;-grave accent
a&#97;-lowercase a
b&#98;-lowercase b
c&#99;-lowercase c
d&#100;-lowercase d
e&#101;-lowercase e
f&#102;-lowercase f
g&#103;-lowercase g
h&#104;-lowercase h
i&#105;-lowercase i
j&#106;-lowercase j
k&#107;-lowercase k
l&#108;-lowercase l
m&#109;-lowercase m
n&#110;-lowercase n
o&#111;-lowercase o
p&#112;-lowercase p
q&#113;-lowercase q
r&#114;-lowercase r
s&#115;-lowercase s
t&#116;-lowercase t
u&#117;-lowercase u
v&#118;-lowercase v
w&#119;-lowercase w
x&#120;-lowercase x
y&#121;-lowercase y
z&#122;-lowercase z
{&#123;-left curly brace
|&#124;-vertical bar
}&#125;-right curly brace
~&#126;-tilde


The following list of characters should not be used in HTML. If you use them, the browser may mistakenly interpret them as part of markup on the page. Rather than using the characters listed below, you should use the HTML Entity Code or Entity Name.

Reserved


ASCII CharacterEntity CodeEntity NameDescription
"&#34;&quot;quotation mark
&&#38;&amp;ampersand
<&#60;&lt;less-than
>&#62;&gt;greater-than

Did you find the page informational and useful? Share it using one of your favorite social sites.

Recommended Books & Training Resources

HTML CSS: The Complete Reference Creating Web Pages Simplified HTML CSS and JavaScript Editor