151>logical and&& logical or|| conditional?: assignment= += -= *= /= %= <<= >>= >>>= &= ^= |= comma,



Chapter 24 -- JavaScript Reference Tables

Chapter 24

JavaScript Reference Tables Java


CONTENTS


ISO Latin Character Set

When using methods such as escape and unescape, the returned values relate to the ISO Latin character set. In Table 24.1, you can see a listing of the values and characters for this set.

Table 24.1  ISO Latin Characters

Decimal Value
Character
Entity Reference
0
NUL
 
1
SOH
 
2
STX
 
3
ETX
 
4
EOT
 
5
ENQ
 
6
ACK
 
7
BEL
 
8
BS
 
9
HT
 
10
NL
 
11
VT
 
12
NP
 
13
CR
 
14
SO
 
15
SI
 
16
DLE
 
17
DC1
 
18
DC2
 
19
DC3
 
20
DC4
 
21
NAK
 
22
SYN
 
23
ETB
 
24
CAN
 
25
EM
 
26
SUB
 
27
ESC
 
28
FS
 
29
GS
 
30
RS
 
31
US
 
32
SP
 
33
!
 
34
"
&quot;
35
#
 
36
$
 
37
%
 
38
&
&amp
39
`
 
40
(
 
41
)
 
42
*
 
43
+
 
44
,
 
45
-
 
46
.
 
47
/
 
48
0
 
49
1
 
50
2
 
51
3
 
52
4
 
53
5
 
54
6
 
55
7
 
56
8
 
57
9
 
58
:
 
59
;
 
60
<
&lt
61
=
 
62
>
&gt
63
?
 
64
@
 
65
A
 
66
B
 
67
C
 
68
D
 
69
E
 
70
F
 
71
G
 
72
H
 
73
I
 
74
J
 
75
K
 
76
L
 
77
M
 
78
N
 
79
O
 
80
P
 
81
Q
 
82
R
 
83
S
 
84
T
 
85
U
 
86
V
 
87
W
 
88
X
 
89
Y
 
90
Z
 
91
[
 
92
\
 
93
]
 
94
^
 
95
_
 
96
`
 
97
a
 
98
b
 
99
c
 
100
d
 
101
e
 
102
f
 
103
g
 
104
h
 
105
i
 
106
j
 
107
k
 
108
l
 
109
m
 
110
n
 
111
o
 
112
p
 
113
q
 
114
r
 
115
s
 
116
t
 
117
u
 
118
v
 
119
w
 
120
x
 
121
y
 
122
z
 
123
{
 
124
|
 
125
}
 
126
~
 
127
DEL
 
128-159
--
 
160
 
 
161
¡
 
162
¢
 
163
£
 
164
¤
 
165
¥
 
166
|
 
167
§
 
168
¨
 
169
©
 
170
ª
 
171
«
 
172
¬
 
173
-
 
174
®
 
175
¯
 
176
°
 
177
±
 
178
2
 
179
3
 
180
´
 
181
µ
 
182
 
183
·
 
184
¸
 
185
1
 
186
º
 
187
»
 
188
1/4
 
189
1/2
 
190
3/4
 
191
¿
 
192
À
&Agrave;
193
Á
&Aacute;
194
Â
&Acirc;
195
Ã
&Atilde;
196
Ä
&Auml;
197
Å
&Aring;
198
Æ
&AElig;
199
Ç
&Ccedil;
200
È
&Egrave;
201
É
&Eacute;
202
Ê
&Ecirc;
203
Ë
&Euml;
204
Ì
&Igrave;
205
Í
&Iacute;
206
Î
&Icirc;
207
Ï
&Iuml;
208
q
209
Ñ
&Ntilde;
210
Ò
&Ograve;
211
Ó
&Oacute;
212
Ô
&Ocirc;
213
Õ
&Otilde;
214
Ö
&Ouml;
215
x
 
216
Ø
&Oslash;
217
Ù
&Ugrave;
218
Ú
&Uacute;
219
Û
&Ucirc;
220
Ü
&Uuml;
221
s
&Yacute;
222
t
&THORN;
223
ß
&szlig;
224
à
&agrave;
225
á
&aacute;
226
â
&acirc;
227
ã
&atilde;
228
ä
&auml;
229
å
&aring;
230
æ
&aelig;
231
ç
&ccedil;
232
è
&egrave;
233
é
&eacute;
234
ê
&ecirc;
235
ë
&euml;
236
ì
&igrave;
237
í
&iacute;
238
î
&icirc;
239
ï
&iuml;
240
u
&eth;
241
ñ
&ntilde;
242
ò
&ograve;
243
ó
&oacute;
244
ô
&ocirc;
245
õ
&otilde;
246
ö
&ouml;
247
÷
 
248
ø
&oslash;
249
ù
&ugrave;
250
ú
&uacute;
251
û
&ucirc;
252
ü
&uuml;
253
v
&yacute;
254
w
&thorn;
255
ÿ
&yuml;

Color Values

Colors can be referenced in a variety of properties in two ways. The first is by using the string literal, which is the color's name. The second is by using an RGB hexadecimal triplet formed by combining the three color values. For example, a specific shade of blue is represented by the string literal aliceblue and the triplet F0F8FF. The actual color displayed by the browser is determined by the range of colors supported by the client machine-a VGA monitor with 16 colors is going to be much less dramatic than an SVGA with 16 million colors.

Color/String Literal
Red
Green
Blue
aliceblue
F0
F8
FF
antiquewhite
FA
EB
D7
aqua
00
FF
FF
aquamarine
7F
FF
D4
azure
F0
FF
FF
beige
F5
F5
DC
bisque
FF
E4
C4
black
00
00
00
blanchedalmond
FF
EB
CD
blue
00
00
FF
blueviolet
8A
2B
E2
brown
A5
2A
2A
burlywood
DE
B8
87
cadetblue
5F
9E
A0
chartreuse
7F
FF
00
chocolate
D2
69
1E
coral
FF
7F
50
cornflowerblue
64
95
ED
cornsilk
FF
F8
DC
crimson
DC
14
3C
cyan
00
FF
FF
darkblue
00
00
8B
darkcyan
00
8B
8B
darkgoldenrod
B8
86
0B
darkgray
A9
A9
A9
darkgreen
00
64
00
darkkhaki
BD
B7
6B
darkmagenta
8B
00
8B
darkolivegreen
55
6B
2F
darkorange
FF
8C
00
darkorchid
99
32
CC
darkred
8B
00
00
darksalmon
E9
96
7A
darkseagreen
8F
BC
8F
darkslateblue
48
3D
8B
darkslategray
2F
4F
4F
darkturquoise
00
CE
D1
darkviolet
94
00
D3
deeppink
FF
14
93
deepskyblue
00
urier">BF
FF
dimgray
69
69
69
dodgerblue
1E
90
FF
firebrick
B2
22
22
floralwhite
FF
FA
F0
forestgreen
22
8B
22
fuchsia
FF
00
FF
gainsboro
DC
DC
DC
ghostwhite
F8
F8
FF
gold
FF
D7
00
goldenrod
DA
A5
20
gray
80
80
80
green
00
80
00
greenyellow
AD
FF
2F
honeydew
F0
FF
F0
hotpink
FF
69
B4
indianred
CD
5C
5C
indigo
4B
00
82
ivory
FF
FF
F0
khaki
F0
E6
8C
lavender
E6
E6
FA
lavenderblush
FF
F0
F5
lawngreen
7C
FC
00
lemonchiffon
FF
FA
CD
lightblue
AD
D8
E6
lightcoral
F0
80
80
lightcyan
E0
FF
FF
lightgoldenrodyellow
FA
D2
lightgreen
90
EE
90
lightgrey
D3
D3
D3
lightpink
FF
B6
C1
lightsalmon
FF
A0
7A
lightseagreen
20
B2
AA
lightskyblue
87
CE
FA
lightslategray
77
88
99
lightsteelblue
B0
C4
DE
lightyellow
FF
FF
E0
lime
00
FF
00
limegreen
32
CD
32
linen
FA
F0
E6
magenta
FF
00
FF
maroon
80
00
00
mediumaquamarine
66
CD
AA
mediumblue
00
00
CD
mediumorchid
BA
55
D3
mediumpurple
93
70
DB
mediumseagreen
3C
B3
71
mediumslateblue
7B
68
EE
mediumspringgreen
00
FA
9A
mediumturquoise
48
D1
CC
mediumvioletred
C7
15
85
midnightblue
19
19
70
mintcream
F5
FF
FA
mistyrose
FF
E4
E1
moccasin
FF
E4
B5
navajowhite
FF
DE
AD
navy
00
00
80
oldlace
FD
F5
E6
olive
80
80
00
olivedrab
6B
8E
23
orange
FF
A5
00
orangered
FF
45
00
orchid
DA
70
D6
palegoldenrod
EE
E8
AA
palegreen
98
FB
98
paleturquoise
AF
EE
EE
palevioletred
DB
70
93
papayawhip
FF
EF
D5
peachpuff
FF
DA
B9
peru
CD
85
3F
pink
FF
C0
CB
plum
DD
A0
DD
powderblue
B0
E0
E6
purple
80
00
80
red
FF
00
00
rosybrown
BC
8F
8F
royalblue
41
69
E1
saddlebrown
8B
45
13
salmon
FA
80
72
sandybrown
F4
A4
60
seagreen
2E
8B
57
seashell
FF
F5
EE
sienna
A0
52
2D
silver
C0
C0
C0
skyblue
87
CE
EB
slateblue
6A
5A
CD
slategray
70
80
90
snow
FF
FA
FA
springgreen
00
FF
7F
steelblue
46
82
B4
tan
D2
B4
8C
teal
00
80
80
thistle
D8
BF
D8
tomato
FF
63
47
turquoise
40
E0
D0
violet
EE
82
EE
wheat
F5
DE
B3
white
FF
FF
FF
whitesmoke
F5
F5
F5
yellow
FF
FF
00
yellowgreen
9A
CD
32

Reserved Words

The following words cannot be used as user objects or variables in coding JavaScript. Not all are currently in use by JavaScript-they are reserved for future use.

abstract floatpublic
boolean forreturn
break functionshort
byte gotostatic
case ifsuper