特殊字符、常規(guī)符號(hào)及其代碼對(duì)照表
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<META NAME="Author" CONTENT="goaler" />
<META NAME="Keywords" CONTENT="特殊字符、常規(guī)符號(hào)及其代碼對(duì)照表" />
<META NAME="Description" CONTENT="特殊字符、常規(guī)符號(hào)及其代碼對(duì)照表" />
<title>特殊字符、常規(guī)符號(hào)及其代碼對(duì)照表</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="menu_head">
特殊字符、常規(guī)符號(hào)及其代碼對(duì)照表
<select id="family" size="1" onChange="JavaScript:chgFont();" style="color:red;">
<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>
</div>
<script language="JavaScript">
document.write('<table border="1" width="100%" cellspacing="0" cellpadding="2">\n');
//document.write('<tr align="center">');
for (j=0;j<4;j++)
{
document.write('<td width="7%" align="center" style="font-size:14px;color:red;background:#D4D0C8">代碼</td>\n');
document.write('<td width="11%" align="center" id="F'+j+'" style="font-size:14px;color:red;;background:#D4D0C8">Webdings</td>\n');
document.write('<td width="7%" align="center" style="font-size:14px;color:red;;background:#D4D0C8">常規(guī)</td>\n');
}
for(i=32;i<256;i++)
{
if (i%4==0)
{
document.write('<tr align="center">\n');
}
document.write('<td align="center" style="font-size:14px;background:#D4D0C8; color:blue; font-family: fixedsys"><a>&#</a>'+i+';</td>\n');
document.write('<td id="f'+i+'" align="center" style="font-size:14px;background:#FFFFFF; color:#CC5800; font-family: Webdings">&#'+i+';</td>\n');
document.write('<td align="center" style="font-size:14px;background:#FFFFFF;font-family: Arial black">&#'+i+';</td>\n');
if (i%4==3)
{
document.write('</tr>\n');
}
}
document.write('</table>\n');
</script>
<script language="JavaScript">
function chgFont()
{
fontIndex = document.getElementById("family").selectedIndex;
fontValue = document.getElementById("family").options[fontIndex].value;
for (m=0;m<4;m++)
{
eval('F'+m+'.innerHTML="'+fontValue+'";');
}
for (n=32;n<256;n++)
{
eval('f'+n+'.style.fontFamily="'+fontValue+'";');
}
}
chgFont();
</script>
</div>
</body>
</html>
相關(guān)文章
JS數(shù)組方法some、every和find的使用詳情
這篇文章 要給大家介紹的是JS數(shù)組方法some、every和find的使用的一些相關(guān)資料,感興趣的小伙伴一起來(lái)學(xué)習(xí)吧2021-09-09網(wǎng)頁(yè)的標(biāo)準(zhǔn),IMG不支持onload標(biāo)簽怎么辦
網(wǎng)頁(yè)的標(biāo)準(zhǔn),IMG不支持onload標(biāo)簽怎么辦...2006-06-06JavaScript設(shè)計(jì)模式之原型模式和適配器模式示例詳解
這篇文章主要為大家介紹了JavaScript 原型模式和適配器模式示例詳解,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進(jìn)步,早日升職加薪2022-08-08微信小程序 Canvas增強(qiáng)組件實(shí)例詳解及源碼分享
這篇文章主要介紹了微信小程序 Canvas增強(qiáng)組件實(shí)例詳解及源碼分享的相關(guān)資料,WeZRender是一個(gè)微信小程序Canvas增強(qiáng)組件,這里詳細(xì)介紹,需要的朋友可以參考下2017-01-01自定義range?sliders滑塊實(shí)現(xiàn)元素拖動(dòng)方法
這篇文章主要為大家介紹了自定義range?sliders滑塊實(shí)現(xiàn)元素拖動(dòng)方法,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進(jìn)步,早日升職加薪2022-08-08