HTML and XHTML use standard 7-bit ASCII code to transmit data over the network.
The 7-bit ASCII Code provides 128 different character values.
7-bit printable ASCII code
Result |
Description |
Entity ID |
|
Space |
& #32; |
! |
Exclamation mark |
& Amp; #33; |
" |
Quotation mark |
& Amp; #34; |
# |
Number sign |
& Amp; #35; |
$ |
Dollar sign |
& Amp; #36; |
% |
Percent sign |
& Amp; #37; |
& |
Ampersand |
& #38; |
' |
Apostrophe |
& Amp; #39; |
( |
Left parenthesis |
& Amp; #40; |
) |
Right parenthesis |
& Amp; #41; |
* |
Asterisk |
& #42; |
+ |
Plus sign |
& Amp; #43; |
, |
Comma |
& Amp; #44; |
- |
Hyphen |
& Amp; #45; |
. |
Period |
& Amp; #46; |
/ |
Slash |
& #47; |
0 |
Digit 0 |
& #48; |
1 |
Digit 1 |
& #49; |
2 |
Digit 2 |
& #50; |
3 |
Digit 3 |
& Amp; #51; |
4 |
Digit 4 |
& #52; |
5 |
Digit 5 |
& Amp; #53; |
6 |
Digit 6 |
& Amp; #54; |
7 |
Digit 7 |
& #55; |
8 |
Digit 8 |
& Amp; #56; |
9 |
Digit 9 |
& #57; |
: |
Colon |
& Amp; #58; |
; |
Semicolon |
& #59; |
< |
Less- |
& #60; |
= |
Equals- |
& #61; |
> |
Greater- |
& #62; |
? |
Question mark |
& Amp; #63; |
@ |
At sign |
& #64; |
A |
Uppercase |
& #65; |
B |
Uppercase B |
& #66; |
C |
Uppercase C |
& #67; |
D |
Uppercase D |
& Amp; #68; |
E |
Uppercase E |
& #69; |
F |
Uppercase F |
& Amp; #70; |
G |
Uppercase G |
& Amp; #71; |
H |
Uppercase H |
& #72; |
I |
Uppercase I |
& #73; |
J |
Uppercase J |
& #74; |
K |
Uppercase K |
& Amp; #75; |
L |
Uppercase L |
& Amp; #76; |
M |
Uppercase M |
& #77; |
N |
Uppercase N |
& #78; |
O |
Uppercase O |
& #79; |
P |
Uppercase P |
& #80; |
Q |
Uppercase Q |
& #81; |
R |
Uppercase R |
& #82; |
S |
Uppercase S |
& #83; |
T |
Uppercase T |
& #84; |
U |
Uppercase U |
& #85; |
V |
Uppercase V |
& #86; |
W |
Uppercase W |
& #87; |
X |
Uppercase X |
& #88; |
Y |
Uppercase Y |
& #89; |
Z |
Uppercase Z |
& #90; |
[ |
Left square bracket |
& #91; |
\ |
Backslash |
& #92; |
] |
Right square bracket |
& #93; |
^ |
Caret |
& #94; |
_ |
Underscore |
& #95; |
` |
Grave accent |
& #96; |
A |
Lowercase |
& #97; |
B |
Lowercase B |
& #98; |
C |
Lowercase c |
& #99; |
D |
Lowercase d |
& #100; |
E |
Lowercase e |
& #101; |
F |
Lowercase f |
& #102; |
G |
Lowercase g |
& #103; |
H |
Lowercase h |
& #104; |
I |
Lowercase I |
& #105; |
J |
Lowercase J |
& #106; |
K |
Lowercase K |
& #107; |
L |
Lowercase L |
& #108; |
M |
Lowercase m |
& #109; |
N |
Lowercase n |
& #110; |
O |
Lowercase o |
& #111; |
P |
Lowercase P |
& #112; |
Q |
Lowercase Q |
& #113; |
R |
Lowercase R |
& #114; |
S |
Lowercase s |
& #115; |
T |
Lowercase t |
& #116; |
U |
Lowercase u |
& #117; |
V |
Lowercase v |
& #118; |
W |
Lowercase w |
& #119; |
X |
Lowercase x |
& #120; |
Y |
Lowercase y |
& #121; |
Z |
Lowercase z |
& #122; |
{ |
Left curly brace |
& #123; |
| |
Vertical bar |
& #124; |
} |
Right curly brace |
& #125; |
~ |
Tilde |
& #126; |
7-bit Device Control ASCII code
The ASCII Device Control Code was initially designed to control hardware devices such as printers and tape drives. The code in the HTML document does not play any role.
Result |
Description |
Entity ID |
NUL |
Null character |
& #00; |
SOH |
Start of header |
& #01; |
STX |
Start of text |
& #02; |
ETX |
End of text |
& #03; |
EOT |
End of transmission |
& #04; |
ENQ |
Enquiry |
& #05; |
ACK |
Acknowledge |
& #06; |
BEL |
Bell (ring) |
& #07; |
BS |
Backspace |
& #08; |
HT |
Horizontal tab |
& #09; |
LF |
Line feed |
& #10; |
VT |
Vertical tab |
& #11; |
FF |
Form feed |
& #12; |
CR |
Carriage return |
& Amp; #13; |
SO |
Shift out |
& #14; |
SI |
Shift in |
& #15; |
DLE |
Data link escape |
& #16; |
DC1 |
Device control 1 |
& #17; |
DC2 |
Device control 2 |
& Amp; #18; |
DC3 |
Device control 3 |
& Amp; #19; |
DC4 |
Device control 4 |
& #20; |
NAK |
Negative acknowledge |
& #21; |
SYN |
Synchronize |
& #22; |
ETB |
End transmission block |
& Amp; #23; |
CAN |
Cancel |
& #24; |
EM |
End of medium |
& #25; |
SUB |
Substitute |
& Amp; #26; |
ESC |
Escape |
& Amp; #27; |
FS |
File Separator |
& #28; |
GS |
Group Separator |
& Amp; #29; |
RS |
Record Separator |
& #30; |
Us |
Unit Separator |
& Amp; #31; |
Del |
Delete (rubout) |
& #127; |
Http://www.w3school.com.cn/tags/html_ref_ascii.asp