UTF-8 C1 控制字符和拉丁文-1补充
HTML基础 2022-06-03 23:44:20小码哥的IT人生shichen
UTF-8 C1 控制字符和拉丁文-1补充
范围:十进制 128-255,十六进制 0080-00FF
如果您希望以 HTML 显示这些字符中的任何一个,则可以使用下表中的 HTML 实体。
如果字符没有 HTML 实体,则可以使用十进制(dec)或十六进制(hex)引用。
示例代码:
<p>我会显示 £</p>
<p>我会显示 £</p>
<p>我会显示 £</p>
将显示为:
我会显示 £
我会显示 £
我会显示 £
完整实例【亲自试一试】:
<!DOCTYPE html>
<html>
<body>
<p>我会显示 £</p>
<p>我会显示 £</p>
<p>我会显示 £</p>
</body>
</html>
可以使用本站在线JavaScript测试工具测试上述代码运行效果:http://www.phpcodeweb.com/runjs.html
字符 | 十进制 | 十六进制 | 实体 | 名称 |
---|---|---|---|---|
160 | 00A0 | | NO-BREAK SPACE | |
¡ | 161 | 00A1 | ¡ | INVERTED EXCLAMATION MARK |
¢ | 162 | 00A2 | ¢ | CENT SIGN |
£ | 163 | 00A3 | £ | POUND SIGN |
¤ | 164 | 00A4 | ¤ | CURRENCY SIGN |
¥ | 165 | 00A5 | ¥ | YEN SIGN |
¦ | 166 | 00A6 | ¦ | BROKEN BAR |
§ | 167 | 00A7 | § | SECTION SIGN |
¨ | 168 | 00A8 | ¨ | DIAERESIS |
© | 169 | 00A9 | © | COPYRIGHT SIGN |
ª | 170 | 00AA | ª | FEMININE ORDINAL INDICATOR |
« | 171 | 00AB | « | LEFT-POINTING DOUBLE ANGLE QUOTATION MARK |
¬ | 172 | 00AC | ¬ | NOT SIGN |
| 173 | 00AD | ­ | SOFT HYPHEN |
® | 174 | 00AE | ® | REGISTERED SIGN |
¯ | 175 | 00AF | ¯ | MACRON |
° | 176 | 00B0 | ° | DEGREE SIGN |
± | 177 | 00B1 | ± | PLUS-MINUS SIGN |
² | 178 | 00B2 | ² | SUPERSCRIPT TWO |
³ | 179 | 00B3 | ³ | SUPERSCRIPT THREE |
´ | 180 | 00B4 | ´ | ACUTE ACCENT |
µ | 181 | 00B5 | µ | MICRO SIGN |
¶ | 182 | 00B6 | ¶ | PILCROW SIGN |
· | 183 | 00B7 | · | MIDDLE DOT |
¸ | 184 | 00B8 | ¸ | CEDILLA |
¹ | 185 | 00B9 | ¹ | SUPERSCRIPT ONE |
º | 186 | 00BA | º | MASCULINE ORDINAL INDICATOR |
» | 187 | 00BB | » | RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK |
¼ | 188 | 00BC | ¼ | VULGAR FRACTION ONE QUARTER |
½ | 189 | 00BD | ½ | VULGAR FRACTION ONE HALF |
¾ | 190 | 00BE | ¾ | VULGAR FRACTION THREE QUARTERS |
¿ | 191 | 00BF | ¿ | INVERTED QUESTION MARK |
À | 192 | 00C0 | À | LATIN CAPITAL LETTER A WITH GRAVE |
Á | 193 | 00C1 | Á | LATIN CAPITAL LETTER A WITH ACUTE |
 | 194 | 00C2 |  | LATIN CAPITAL LETTER A WITH CIRCUMFLEX |
à | 195 | 00C3 | à | LATIN CAPITAL LETTER A WITH TILDE |
Ä | 196 | 00C4 | Ä | LATIN CAPITAL LETTER A WITH DIAERESIS |
Å | 197 | 00C5 | Å | LATIN CAPITAL LETTER A WITH RING ABOVE |
Æ | 198 | 00C6 | Æ | LATIN CAPITAL LETTER AE |
Ç | 199 | 00C7 | Ç | LATIN CAPITAL LETTER C WITH CEDILLA |
È | 200 | 00C8 | È | LATIN CAPITAL LETTER E WITH GRAVE |
É | 201 | 00C9 | É | LATIN CAPITAL LETTER E WITH ACUTE |
Ê | 202 | 00CA | Ê | LATIN CAPITAL LETTER E WITH CIRCUMFLEX |
Ë | 203 | 00CB | Ë | LATIN CAPITAL LETTER E WITH DIAERESIS |
Ì | 204 | 00CC | Ì | LATIN CAPITAL LETTER I WITH GRAVE |
Í | 205 | 00CD | Í | LATIN CAPITAL LETTER I WITH ACUTE |
Î | 206 | 00CE | Î | LATIN CAPITAL LETTER I WITH CIRCUMFLEX |
Ï | 207 | 00CF | Ï | LATIN CAPITAL LETTER I WITH DIAERESIS |
Ð | 208 | 00D0 | Ð | LATIN CAPITAL LETTER ETH |
Ñ | 209 | 00D1 | Ñ | LATIN CAPITAL LETTER N WITH TILDE |
Ò | 210 | 00D2 | Ò | LATIN CAPITAL LETTER O WITH GRAVE |
Ó | 211 | 00D3 | Ó | LATIN CAPITAL LETTER O WITH ACUTE |
Ô | 212 | 00D4 | Ô | LATIN CAPITAL LETTER O WITH CIRCUMFLEX |
Õ | 213 | 00D5 | Õ | LATIN CAPITAL LETTER O WITH TILDE |
Ö | 214 | 00D6 | Ö | LATIN CAPITAL LETTER O WITH DIAERESIS |
× | 215 | 00D7 | × | MULTIPLICATION SIGN |
Ø | 216 | 00D8 | Ø | LATIN CAPITAL LETTER O WITH STROKE |
Ù | 217 | 00D9 | Ù | LATIN CAPITAL LETTER U WITH GRAVE |
Ú | 218 | 00DA | Ú | LATIN CAPITAL LETTER U WITH ACUTE |
Û | 219 | 00DB | Û | LATIN CAPITAL LETTER U WITH CIRCUMFLEX |
Ü | 220 | 00DC | Ü | LATIN CAPITAL LETTER U WITH DIAERESIS |
Ý | 221 | 00DD | Ý | LATIN CAPITAL LETTER Y WITH ACUTE |
Þ | 222 | 00DE | Þ | LATIN CAPITAL LETTER THORN |
ß | 223 | 00DF | ß | LATIN SMALL LETTER SHARP S |
à | 224 | 00E0 | à | LATIN SMALL LETTER A WITH GRAVE |
á | 225 | 00E1 | á | LATIN SMALL LETTER A WITH ACUTE |
â | 226 | 00E2 | â | LATIN SMALL LETTER A WITH CIRCUMFLEX |
ã | 227 | 00E3 | ã | LATIN SMALL LETTER A WITH TILDE |
ä | 228 | 00E4 | ä | LATIN SMALL LETTER A WITH DIAERESIS |
å | 229 | 00E5 | å | LATIN SMALL LETTER A WITH RING ABOVE |
æ | 230 | 00E6 | æ | LATIN SMALL LETTER AE |
ç | 231 | 00E7 | ç | LATIN SMALL LETTER C WITH CEDILLA |
è | 232 | 00E8 | è | LATIN SMALL LETTER E WITH GRAVE |
é | 233 | 00E9 | é | LATIN SMALL LETTER E WITH ACUTE |
ê | 234 | 00EA | ê | LATIN SMALL LETTER E WITH CIRCUMFLEX |
ë | 235 | 00EB | ë | LATIN SMALL LETTER E WITH DIAERESIS |
ì | 236 | 00EC | ì | LATIN SMALL LETTER I WITH GRAVE |
í | 237 | 00ED | í | LATIN SMALL LETTER I WITH ACUTE |
î | 238 | 00EE | î | LATIN SMALL LETTER I WITH CIRCUMFLEX |
ï | 239 | 00EF | ï | LATIN SMALL LETTER I WITH DIAERESIS |
ð | 240 | 00F0 | ð | LATIN SMALL LETTER ETH |
ñ | 241 | 00F1 | ñ | LATIN SMALL LETTER N WITH TILDE |
ò | 242 | 00F2 | ò | LATIN SMALL LETTER O WITH GRAVE |
ó | 243 | 00F3 | ó | LATIN SMALL LETTER O WITH ACUTE |
ô | 244 | 00F4 | ô | LATIN SMALL LETTER O WITH CIRCUMFLEX |
õ | 245 | 00F5 | õ | LATIN SMALL LETTER O WITH TILDE |
ö | 246 | 00F6 | ö | LATIN SMALL LETTER O WITH DIAERESIS |
÷ | 247 | 00F7 | ÷ | DIVISION SIGN |
ø | 248 | 00F8 | ø | LATIN SMALL LETTER O WITH STROKE |
ù | 249 | 00F9 | ù | LATIN SMALL LETTER U WITH GRAVE |
ú | 250 | 00FA | ú | LATIN SMALL LETTER U WITH ACUTE |
û | 251 | 00FB | û | LATIN SMALL LETTER U WITH CIRCUMFLEX |
ü | 252 | 00FC | ü | LATIN SMALL LETTER U WITH DIAERESIS |
ý | 253 | 00FD | ý | LATIN SMALL LETTER Y WITH ACUTE |
þ | 254 | 00FE | þ | LATIN SMALL LETTER THORN |
ÿ | 255 | 00FF | ÿ | LATIN SMALL LETTER Y WITH DIAERESIS |
C1 控制字符
控制字符最初被设计为控制硬件设备。
不应在 HTML 中显示控制字符。
但是,由于它们被定义为字符,因此在 Windows 使用的 ANSI 字符集中,如果您使用 Windows,则可能会显示它们。
字符 | 十进制 | 十六进制 | 控制字符 |
---|---|---|---|
€ | 128 | 0080 | CONTROL |
| 129 | 0081 | CONTROL |
‚ | 130 | 0082 | BREAK PERMITTED HERE |
ƒ | 131 | 0083 | NO BREAK HERE |
„ | 132 | 0084 | INDEX |
… | 133 | 0085 | NEXT LINE (NEL) |
† | 134 | 0086 | START OF SELECTED AREA |
‡ | 135 | 0087 | END OF SELECTED AREA |
ˆ | 136 | 0088 | CHARACTER TABULATION SET |
‰ | 137 | 0089 | CHARACTER TABULATION WITH JUSTIFICATION |
Š | 138 | 008A | LINE TABULATION SET |
‹ | 139 | 008B | PARTIAL LINE FORWARD |
Œ | 140 | 008C | PARTIAL LINE BACKWARD |
| 141 | 008D | REVERSE LINE FEED |
Ž | 142 | 008E | SINGLE SHIFT TWO |
| 143 | 008F | SINGLE SHIFT THREE |
| 144 | 0090 | DEVICE CONTROL STRING |
‘ | 145 | 0091 | PRIVATE USE ONE |
’ | 146 | 0092 | PRIVATE USE TWO |
“ | 147 | 0093 | SET TRANSMIT STATE |
” | 148 | 0094 | CANCEL CHARACTER |
• | 149 | 0095 | MESSAGE WAITING |
– | 150 | 0096 | START OF GUARDED AREA |
— | 151 | 0097 | END OF GUARDED AREA |
˜ | 152 | 0098 | START OF STRING |
™ | 153 | 0099 | CONTROL |
š | 154 | 009A | SINGLE CHARACTER INTRODUCER |
› | 155 | 009B | CONTROL SEQUENCE INTRODUCER |
œ | 156 | 009C | STRING TERMINATOR |
| 157 | 009D | OPERATING SYSTEM COMMAND |
ž | 158 | 009E | PRIVACY MESSAGE |
Ÿ | 159 | 009F | APPLICATION PROGRAM COMMAND |