作家
登录

特殊字符、常规符号及其代码对照表

作者: 来源:www.28hudong.com 2013-03-30 04:09:56 阅读 我要评论

<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><META NAME="Author" CONTENT="goaler" /><META NAME="Keywords" CONTENT="特殊字符、常规符号及其代码对照表" /><META NAME="Description" CONTENT="特殊字符、常规符号及其代码对照表" /><title>特殊字符、常规符号及其代码对照表</title><link href="style.css" rel="stylesheet" type="text/css" /></head> <body><div class="menu_head">特殊字符、常规符号及其代码对照表 <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">常规</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>

  推荐阅读

  采用CSS和JS,刚好我最近有个站点要用到下拉菜单!

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Ty>>>详细阅读


本文标题:特殊字符、常规符号及其代码对照表

地址:http://www.17bianji.com/kaifa2/JS/31744.html

关键词: 探索发现

乐购科技部分新闻及文章转载自互联网,供读者交流和学习,若有涉及作者版权等问题请及时与我们联系,以便更正、删除或按规定办理。感谢所有提供资讯的网站,欢迎各类媒体与乐购科技进行文章共享合作。

网友点评
自媒体专栏

评论

热度

精彩导读
栏目ID=71的表不存在(操作类型=0)