Broad Network


ASCII Character Set

HTML Character Sets - Part 2

Forward: In this part of my series, I explain the character set called, ASCII.

By: Chrysanthus Date Published: 31 Jul 2012

Introduction

This is part 2 of my series, HTML Character Sets. In this part of my series, I explain the character set called, ASCII. I assume, you have read the previous part of the series; this is a continuation.

Note: If you cannot see the code or if you think anything is missing (broken link, image absent, etc.), just contact me at forchatrans@yahoo.com. That is, contact me for the slightest problem you have about what you are reading.

Description
ASCII stands for "American Standard Code for Information Interchange".  It was designed (invented) in the 60’s. It was a standard character-set for computers and hardware devices like teleprinters and tapedrives. It contains the numbers from 0-9, the uppercase and lowercase English alphabets from A to Z, and some special characters.

Now the special characters (device control characters) have code positions from 0 to 31. These special characters are not displayed or seen by the user. Printable characters have code position numbers from 32 to 126. Note: the DELELTE device (keyboard) control character has code position number, 127. So the ASCII character set has a total of 128 characters.

As you will see below, none Anglo-Saxon characters (printable) are not found in the set. Today there is a lot of international businesses. So there is need for broader character sets. I will talk about the two most important in the next part of the series. For now, glance through the ASCII lists below :

ASCII Printable Characters

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

ASCII Device Control Characters

ASCII Character HTML Entity Code Description
NUL &#00; null character
SOH &#01; start of header
STX &#02; start of text
ETX &#03; end of text
EOT &#04; end of transmission
ENQ &#05; enquiry
ACK &#06; acknowledge
BEL &#07; bell (ring)
BS &#08; backspace
HT &#09; horizontal tab
LF &#10; line feed
VT &#11; vertical tab
FF &#12; form feed
CR &#13; carriage return
SO &#14; shift out
SI &#15; shift in
DLE &#16; data link escape
DC1 &#17; device control 1
DC2 &#18; device control 2
DC3 &#19; device control 3
DC4 &#20; device control 4
NAK &#21; negative acknowledge
SYN &#22; synchronize
ETB &#23; end transmission block
CAN &#24; cancel
EM &#25; end of medium
SUB &#26; substitute
ESC &#27; escape
FS &#28; file separator
GS &#29; group separator
RS &#30; record separator
US &#31; unit separator
     
DEL &#127; delete (rubout)

That is it for this part of the series. We stop here and continue in the next part.

Chrys

Related Links

Major in Website Design
Web Development Course
HTML Course
CSS Course
ECMAScript Course
NEXT

Comments

Become the Writer's Fan
Send the Writer a Message