1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<html>
<head>
<title>特殊字符、常规符号及其代码对照表</title>
</head>
<body bgColor="black">
 
 
<center style="font-size:20px; color:red; font-family: 黑体">
<form name="font">
<select name="family" size="1" onChange="JavaScript:chgFont();" style="font-size:20px; color:red; font-family: 黑体">
<option selected value="Webdings">Webdings</option>
<option value="Wingdings">Wingdings</option>
<option value="Wingdings 2">Wingdings 2</option>
<option value="Wingdings 3">Wingdings 3</option>
<option value="Symbol">Symbol</option>
</select>符号、常规符号及其代码对照表
</form>
</center>
 
<script language="JavaScript">
document.write('<table border="1" width="100%" cellspacing="0" cellpadding="0">');
for (j=0;j&lt;4;j++) {
document.write('<td bgcolor="menu" bordercolor="menu" align="center" valign="middle" width="7%" style="font-size:; color:red; font-family: fixedsys">代码</td>');
document.write('<td id="F'+j+'" bgcolor="menu" bordercolor="" align="center" valign="middle" width="11%" style="font-size:; color:red; font-family: fixedsys">Webdings</td>');
document.write('<td bgcolor="menu" bordercolor="menu" align="center" valign="middle" width="7%" style="font-size:; color:red; font-family: fixedsys">常规</td>');
}
for(i=32;i&lt;256;i++){
if (i%4==0) {
document.write('<tr>');
}
document.write('<td bgcolor="menu" align="center" valign="middle" width="7%" style="font-size:; color:blue; font-family: fixedsys"><a>&#</a>'+i+';</td>');
document.write('<td id="f'+i+'" align="center" valign="middle" width="11%" style="font-size:40px; color:yellow; font-family: Webdings">&#'+i+';</td>');
document.write('<td align="center" valign="middle" width="7%" style="font-size:30px; color:white; font-family: Arial">&#'+i+';</td>');
 
if (i%4==3) {
document.write('</tr>');
}
}
document.write('</table>');
</script>
 
<script language="JavaScript">
function chgFont() {
fontIndex = document.font.family.selectedIndex;
fontValue = document.font.family.options[fontIndex].value;
 
for (m=0;m&lt;4;m++){
eval('F'+m+'.innerHTML="'+fontValue+'";');
}
for (n=32;n&lt;256;n++){
eval('f'+n+'.style.fontFamily="'+fontValue+'";');
}
}
 
chgFont();
</script>
 
</body>
</html>