Following Perl script will generate HTML character table from 1 to first
argument passed to the script.
use strict;
my $table_style = 'style="border-color:#f0f0f0;border-collapse:collapse;border-style:solid;border-width:1px;"';
print '<body style="font-family:Courier;font-size:13px;"><table '.$table_style.'>'."\n";
print '<tr><td '.$table_style.' width="100px">HTML</td><td '.$table_style.' width="100px">Character</td></tr>'."\n";
foreach my $num ( 1..$ARGV[0] ) {
print '<tr><td '.$table_style.' width="100px">&#'.$num.';</td><td '.$table_style.' width="100px">'.$num.';</td></tr>'."\n";
}
print "</table>";
|
Below is the list of few notable HTML characters (your browser need to support it).
|
HTML
|
Character
|
|
!
|
!
|
ASCII characters
|
"
|
"
|
|
#
|
#
|
|
$
|
$
|
|
%
|
%
|
|
&
|
&
|
|
'
|
'
|
|
(
|
(
|
|
)
|
)
|
|
*
|
*
|
|
+
|
+
|
|
,
|
,
|
|
-
|
-
|
|
.
|
.
|
|
/
|
/
|
|
0
|
0
|
|
1
|
1
|
|
2
|
2
|
|
3
|
3
|
|
4
|
4
|
|
5
|
5
|
|
6
|
6
|
|
7
|
7
|
|
8
|
8
|
|
9
|
9
|
|
:
|
:
|
|
;
|
;
|
|
<
|
<
|
|
=
|
=
|
|
>
|
>
|
|
?
|
?
|
|
@
|
@
|
|
A
|
A
|
|
B
|
B
|
|
C
|
C
|
|
D
|
D
|
|
E
|
E
|
|
F
|
F
|
|
G
|
G
|
|
H
|
H
|
|
I
|
I
|
|
J
|
J
|
|
K
|
K
|
|
L
|
L
|
|
M
|
M
|
|
N
|
N
|
|
O
|
O
|
|
P
|
P
|
|
Q
|
Q
|
|
R
|
R
|
|
S
|
S
|
|
T
|
T
|
|
U
|
U
|
|
V
|
V
|
|
W
|
W
|
|
X
|
X
|
|
Y
|
Y
|
|
Z
|
Z
|
|
[
|
[
|
|
\
|
\
|
|
]
|
]
|
|
^
|
^
|
|
_
|
_
|
|
`
|
`
|
|
a
|
a
|
|
b
|
b
|
|
c
|
c
|
|
d
|
d
|
|
e
|
e
|
|
f
|
f
|
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
|
μ
|
|
ν
|
ν
|
|
ξ
|
ξ
|
|
ο
|
ο
|
|
π
|
π
|
|
ρ
|
ρ
|
|
ς
|
ς
|
|
σ
|
σ
|
|
τ
|
τ
|
|
υ
|
υ
|
|
φ
|
φ
|
|
χ
|
χ
|
|
ψ
|
ψ
|
|
ω
|
ω
|
|
⅛
|
⅛
|
|
⅜
|
⅜
|
|
⅝
|
⅝
|
|
⅞
|
⅞
|
|
Ⅰ
|
Ⅰ
|
|
Ⅱ
|
Ⅱ
|
|
Ⅲ
|
Ⅲ
|
|
Ⅳ
|
Ⅳ
|
|
Ⅴ
|
Ⅴ
|
|
Ⅵ
|
Ⅵ
|
|
Ⅶ
|
Ⅶ
|
|
Ⅷ
|
Ⅷ
|
|
Ⅸ
|
Ⅸ
|
|
Ⅹ
|
Ⅹ
|
|
Ⅺ
|
Ⅺ
|
|
Ⅻ
|
Ⅻ
|
|
Ⅼ
|
Ⅼ
|
|
Ⅽ
|
Ⅽ
|
|
Ⅾ
|
Ⅾ
|
|
Ⅿ
|
Ⅿ
|
|
ⅰ
|
ⅰ
|
|
ⅱ
|
ⅱ
|
|
ⅲ
|
ⅲ
|
|
ⅳ
|
ⅳ
|
|
ⅴ
|
ⅴ
|
|
ⅵ
|
ⅵ
|
|
ⅶ
|
ⅶ
|
|
ⅷ
|
ⅷ
|
|
ⅸ
|
ⅸ
|
|
ⅹ
|
ⅹ
|
|
ⅺ
|
ⅺ
|
|
ⅻ
|
ⅻ
|
|
ⅼ
|
ⅼ
|
|
ⅽ
|
ⅽ
|
|
ⅾ
|
ⅾ
|
|
ⅿ
|
ⅿ
|
|
←
|
←
|
|
↑
|
↑
|
|
→
|
→
|
|
↓
|
↓
|
|
↔
|
↔
|
|
↕
|
↕
|
|
⇐
|
⇐
|
|
⇑
|
⇑
|
|
⇒
|
⇒
|
|
⇓
|
⇓
|
|
⇔
|
⇔
|
|
⇕
|
⇕
|
|
∑
|
∑
|
Mathematical characters
|
√
|
√
|
|
∞
|
∞
|
|
∫
|
∫
|
|
≤
|
≤
|
|
≥
|
≥
|
|
≪
|
≪
|
|
≫
|
≫
|
|
⊂
|
⊂
|
|
⊃
|
⊃
|
|
⊆
|
⊆
|
|
⊇
|
⊇
|
|
①
|
①
|
|
②
|
②
|
|
③
|
③
|
|
④
|
④
|
|
⑤
|
⑤
|
|
⑥
|
⑥
|
|
⑦
|
⑦
|
|
⑧
|
⑧
|
|
⑨
|
⑨
|
|
⑩
|
⑩
|
|
⑪
|
⑪
|
|
⑫
|
⑫
|
|
⑬
|
⑬
|
|
⑭
|
⑭
|
|
⑮
|
⑮
|
|
⑯
|
⑯
|
|
⑰
|
⑰
|
|
⑱
|
⑱
|
|
⑲
|
⑲
|
|
⑳
|
⑳
|
|
⑴
|
⑴
|
|
⑵
|
⑵
|
|
⑶
|
⑶
|
|
⑷
|
⑷
|
|
⑸
|
⑸
|
|
⑹
|
⑹
|
|
⑺
|
⑺
|
|
⑻
|
⑻
|
|
⑼
|
⑼
|
|
⑽
|
⑽
|
|
⑾
|
⑾
|
|
⑿
|
⑿
|
|
⒀
|
⒀
|
|
⒁
|
⒁
|
|
⒂
|
⒂
|
|
⒃
|
⒃
|
|
⒄
|
⒄
|
|
⒅
|
⒅
|
|
⒆
|
⒆
|
|
⒇
|
⒇
|
|
⒈
|
⒈
|
|
⒉
|
⒉
|
|
⒊
|
⒊
|
|
⒋
|
⒋
|
|
⒌
|
⒌
|
|
⒍
|
⒍
|
|
⒎
|
⒎
|
|
⒏
|
⒏
|
|
⒐
|
⒐
|
|
⒑
|
⒑
|
|
⒒
|
⒒
|
|
⒓
|
⒓
|
|
⒔
|
⒔
|
|
⒕
|
⒕
|
|
⒖
|
⒖
|
|
⒗
|
⒗
|
|
⒘
|
⒘
|
|
⒙
|
⒙
|
|
⒚
|
⒚
|
|
⒛
|
⒛
|
|
⒜
|
⒜
|
|
⒝
|
⒝
|
|
⒞
|
⒞
|
|
⒟
|
⒟
|
|
⒠
|
⒠
|
|
⒡
|
⒡
|
|
⒢
|
⒢
|
|
⒣
|
⒣
|
|
⒤
|
⒤
|
|
⒥
|
⒥
|
|
⒦
|
⒦
|
|
⒧
|
⒧
|
|
⒨
|
⒨
|
|
⒩
|
⒩
|
|
⒪
|
⒪
|
|
⒫
|
⒫
|
|
⒬
|
⒬
|
|
⒭
|
⒭
|
|
⒮
|
⒮
|
|
⒯
|
⒯
|
|
⒰
|
⒰
|
|
⒱
|
⒱
|
|
⒲
|
⒲
|
|
⒳
|
⒳
|
|
⒴
|
⒴
|
|
⒵
|
⒵
|
|
Ⓐ
|
Ⓐ
|
|
Ⓑ
|
Ⓑ
|
|
Ⓒ
|
Ⓒ
|
|
Ⓓ
|
Ⓓ
|
|
Ⓔ
|
Ⓔ
|
|
Ⓕ
|
Ⓕ
|
|
Ⓖ
|
Ⓖ
|
|
Ⓗ
|
Ⓗ
|
|
Ⓘ
|
Ⓘ
|
|
Ⓙ
|
Ⓙ
|
|
Ⓚ
|
Ⓚ
|
|
Ⓛ
|
Ⓛ
|
|
Ⓜ
|
Ⓜ
|
|
Ⓝ
|
Ⓝ
|
|
Ⓞ
|
Ⓞ
|
|
Ⓟ
|
Ⓟ
|
|
Ⓠ
|
Ⓠ
|
|
Ⓡ
|
Ⓡ
|
|
Ⓢ
|
Ⓢ
|
|
Ⓣ
|
Ⓣ
|
|
Ⓤ
|
Ⓤ
|
|
Ⓥ
|
Ⓥ
|
|
Ⓦ
|
Ⓦ
|
|
Ⓧ
|
Ⓧ
|
|
Ⓨ
|
Ⓨ
|
|
Ⓩ
|
Ⓩ
|
|
ⓐ
|
ⓐ
|
|
ⓑ
|
ⓑ
|
|
ⓒ
|
ⓒ
|
|
ⓓ
|
ⓓ
|
|
ⓔ
|
ⓔ
|
|
ⓕ
|
ⓕ
|
|
ⓖ
|
ⓖ
|
|
ⓗ
|
ⓗ
|
|
ⓘ
|
ⓘ
|
|
ⓙ
|
ⓙ
|
|
ⓚ
|
ⓚ
|
|
ⓛ
|
ⓛ
|
|
ⓜ
|
ⓜ
|
|
ⓝ
|
ⓝ
|
|
ⓞ
|
ⓞ
|
|
ⓟ
|
ⓟ
|
|
ⓠ
|
ⓠ
|
|
ⓡ
|
ⓡ
|
|
ⓢ
|
ⓢ
|
|
ⓣ
|
ⓣ
|
|
ⓤ
|
ⓤ
|
|
ⓥ
|
ⓥ
|
|
ⓦ
|
ⓦ
|
|
ⓧ
|
ⓧ
|
|
ⓨ
|
ⓨ
|
|
ⓩ
|
ⓩ
|
|
❶
|
❶
|
|
❷
|
❷
|
|
❸
|
❸
|
|
❹
|
❹
|
|
❺
|
❺
|
|
❻
|
❻
|
|
❼
|
❼
|
|
❽
|
❽
|
|
❾
|
❾
|
|
❿
|
❿
|
|
➀
|
➀
|
|
➁
|
➁
|
|
➂
|
➂
|
|
➃
|
➃
|
|
➄
|
➄
|
|
➅
|
➅
|
|
➆
|
➆
|
|
➇
|
➇
|
|
➈
|
➈
|
|
➉
|
➉
|
|
➊
|
➊
|
|
➋
|
➋
|
|
➌
|
➌
|
|
➍
|
➍
|
|
➎
|
➎
|
|
➏
|
➏
|
|
➐
|
➐
|
|
➑
|
➑
|
|
➒
|
➒
|
|
➓
|
➓
|
|
|
Copyright © Samir Amberkar 2010-11 | § § |