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