javascript学习手记(HTML特殊字符显示)

常用的特殊字符和符号的HTML编码
说明Entity NameEntity Number显示或处理结果
小于&lt;<<
大于&gt;>>
&符号&amp;&&
双引号&quot;""
注册商标&reg;®®
版权&copy;©©
&trade;
显示一个空格&nbsp; 空格字符
&amp;lt&lt
乘号&times;××
除号&divide;÷÷
  1 None.gif       < table  border ="1" >
  2 None.gif             < tr >
  3 None.gif                 < td  colspan ="4"  style ="text-align: center" >
  4 None.gif                    常用的特殊字符和符号的HTML编码 </ td >
  5 None.gif             </ tr >
  6 None.gif             < tr >
  7 None.gif                 < td  style ="width: 259px; text-align: center" >
  8 None.gif                    说明 </ td >
  9 None.gif                 < td  style ="width: 259px; text-align: center" >
 10 None.gif                    Entity Name </ td >
 11 None.gif                 < td  style ="width: 259px; text-align: center" >
 12 None.gif                    Entity Number </ td >
 13 None.gif                 < td  style ="width: 271px; text-align: center" >
 14 None.gif                    显示或处理结果 </ td >
 15 None.gif             </ tr >
 16 None.gif             < tr >
 17 None.gif                 < td  style ="width: 259px; text-align: center" >
 18 None.gif                    小于 </ td >
 19 None.gif                 < td  style ="width: 259px; text-align: center" >
 20 None.gif                     &amp; lt; </ td >
 21 None.gif                 < td  style ="width: 259px; text-align: center" >
 22 None.gif                     &amp; #60; </ td >
 23 None.gif                 < td  style ="width: 271px; text-align: center" >
 24 None.gif                     &lt; </ td >
 25 None.gif             </ tr >
 26 None.gif             < tr >
 27 None.gif                 < td  style ="width: 259px; text-align: center" >
 28 None.gif                    大于 </ td >
 29 None.gif                 < td  style ="width: 259px; text-align: center" >
 30 None.gif                     &amp; gt; </ td >
 31 None.gif                 < td  style ="width: 259px; text-align: center" >
 32 None.gif                     &amp; #62; </ td >
 33 None.gif                 < td  style ="width: 271px; text-align: center" >
 34 None.gif                     &gt; </ td >
 35 None.gif             </ tr >
 36 None.gif             < tr >
 37 None.gif                 < td  style ="width: 259px; text-align: center" >
 38 None.gif                     &amp; 符号 </ td >
 39 None.gif                 < td  style ="width: 259px; text-align: center" >
 40 None.gif                     &amp; amp; </ td >
 41 None.gif                 < td  style ="width: 259px; text-align: center" >
 42 None.gif                     &amp; #38; </ td >
 43 None.gif                 < td  style ="width: 271px; text-align: center" >
 44 None.gif                     &amp; </ td >
 45 None.gif             </ tr >
 46 None.gif             < tr >
 47 None.gif                 < td  style ="width: 259px; text-align: center" >
 48 None.gif                    双引号 </ td >
 49 None.gif                 < td  style ="width: 259px; text-align: center" >
 50 None.gif                     &amp; quot; </ td >
 51 None.gif                 < td  style ="width: 259px; text-align: center" >
 52 None.gif                     &amp; #34; </ td >
 53 None.gif                 < td  style ="width: 271px; text-align: center" >
 54 None.gif                    " </ td >
 55 None.gif             </ tr >
 56 None.gif             < tr >
 57 None.gif                 < td  style ="width: 259px; text-align: center" >
 58 None.gif                    注册商标 </ td >
 59 None.gif                 < td  style ="width: 259px; text-align: center" >
 60 None.gif                     &amp; reg; </ td >
 61 None.gif                 < td  style ="width: 259px; text-align: center" >
 62 None.gif                     &amp; #174; </ td >
 63 None.gif                 < td  style ="width: 271px; text-align: center" >
 64 None.gif                    ®
 65 None.gif                 </ td >
 66 None.gif             </ tr >
 67 None.gif             < tr >
 68 None.gif                 < td  style ="width: 259px; text-align: center" >
 69 None.gif                    版权 </ td >
 70 None.gif                 < td  style ="width: 259px; text-align: center" >
 71 None.gif                     &amp; copy; </ td >
 72 None.gif                 < td  style ="width: 259px; text-align: center" >
 73 None.gif                     &amp; #169; </ td >
 74 None.gif                 < td  style ="width: 271px; text-align: center" >
 75 None.gif                    © </ td >
 76 None.gif             </ tr >
 77 None.gif             < tr >
 78 None.gif                 < td  style ="width: 259px; text-align: center" >
 79 None.gif                 </ td >
 80 None.gif                 < td  style ="width: 259px; text-align: center" >
 81 None.gif                     &amp; trade; </ td >
 82 None.gif                 < td  style ="width: 259px; text-align: center" >
 83 None.gif                 </ td >
 84 None.gif                 < td  style ="width: 271px; text-align: center" >
 85 None.gif                    ™
 86 None.gif                 </ td >
 87 None.gif             </ tr >
 88 None.gif             < tr >
 89 None.gif                 < td  style ="width: 259px; text-align: center" >
 90 None.gif                    显示一个空格 </ td >
 91 None.gif                 < td  style ="width: 259px; text-align: center" >
 92 None.gif                     &amp; nbsp; </ td >
 93 None.gif                 < td  style ="width: 259px; text-align: center" >
 94 None.gif                     &amp; #160; </ td >
 95 None.gif                 < td  style ="width: 271px; text-align: center" >
 96 None.gif                    空格字符 </ td >
 97 None.gif             </ tr >
 98 None.gif             < tr >
 99 None.gif                 < td  style ="width: 259px; text-align: center" >
100 None.gif                 </ td >
101 None.gif                 < td  style ="width: 259px; text-align: center" >
102 None.gif                     &amp; amp;lt </ td >
103 None.gif                 < td  style ="width: 259px; text-align: center" >
104 None.gif                 </ td >
105 None.gif                 < td  style ="width: 271px; text-align: center" >
106 None.gif                     &amp; lt
107 None.gif                 </ td >
108 None.gif             </ tr >
109 None.gif             < tr >
110 None.gif                 < td  style ="width: 259px; text-align: center" >
111 None.gif                    乘号 </ td >
112 None.gif                 < td  style ="width: 259px; text-align: center" >
113 None.gif                     &amp; times; </ td >
114 None.gif                 < td  style ="width: 259px; text-align: center" >
115 None.gif                     &amp; #215; </ td >
116 None.gif                 < td  style ="width: 271px; text-align: center" >
117 None.gif                    × </ td >
118 None.gif             </ tr >
119 None.gif             < tr >
120 None.gif                 < td  style ="width: 259px; text-align: center" >
121 None.gif                    除号 </ td >
122 None.gif                 < td  style ="width: 259px; text-align: center" >
123 None.gif                     &amp; divide; </ td >
124 None.gif                 < td  style ="width: 259px; text-align: center" >
125 None.gif                     &amp; #247; </ td >
126 None.gif                 < td  style ="width: 271px; text-align: center" >
127 None.gif                    ÷ </ td >
128 None.gif             </ tr >
129 None.gif         </ table >

转载于:https://www.cnblogs.com/pageantry/archive/2006/12/28/605871.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值