Home > Web Front-end > JS Tutorial > body text

Comparison table of special characters, regular symbols and their codes

巴扎黑
Release: 2017-05-21 11:26:33
Original
3026 people have browsed it

<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><p 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></p> <script language="JavaScript"> document.write(&#39;<table border="1" width="100%" cellspacing="0" cellpadding="2">\n&#39;); //document.write(&#39;<tr align="center">&#39;); for (j=0;j<4;j++) {  document.write(&#39;<td width="7%" align="center" style="font-size:14px;color:red;background:#D4D0C8">代码</td>\n&#39;);  document.write(&#39;<td width="11%" align="center" id="F&#39;+j+&#39;" style="font-size:14px;color:red;;background:#D4D0C8">Webdings</td>\n&#39;);  document.write(&#39;<td width="7%" align="center" style="font-size:14px;color:red;;background:#D4D0C8">常规</td>\n&#39;); } for(i=32;i<256;i++) {  if (i%4==0)  {   document.write(&#39;<tr align="center">\n&#39;);  }  document.write(&#39;<td align="center" style="font-size:14px;background:#D4D0C8; color:blue; font-family: fixedsys"><a></a>&#39;+i+&#39;;</td>\n&#39;);  document.write(&#39;<td id="f&#39;+i+&#39;" align="center" style="font-size:14px;background:#FFFFFF; color:#CC5800; font-family: Webdings">&#39;+i+&#39;;</td>\n&#39;);  document.write(&#39;<td align="center" style="font-size:14px;background:#FFFFFF;font-family: Arial black">&#39;+i+&#39;;</td>\n&#39;);
  if (i%4==3)   {   document.write(&#39;</tr>\n&#39;);  } } document.write(&#39;</table>\n&#39;); </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(&#39;F&#39;+m+&#39;.innerHTML="&#39;+fontValue+&#39;";&#39;);  }  for (n=32;n<256;n++)  {   eval(&#39;f&#39;+n+&#39;.style.fontFamily="&#39;+fontValue+&#39;";&#39;);  } }
 chgFont(); </script>
</p></body></html>
Copy after login

The above is the detailed content of Comparison table of special characters, regular symbols and their codes. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template