HTML ISO-8859-1 参考手册
主题
- 默认模式
- 浅蓝色模式
- 淡绿色模式
- 深夜模式
ISO-8859-1
ISO-8859-1(也称为Latin-1)是 HTML 4.01 和 XHTML 1.0 的默认字符集。
ISO(International Standards Organization,国际标准组织)为不同的字母/语言定义了标准字符集。
本页底部列出了ISO-8859的不同变体。
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
ISO-8859-1 字符集
ISO-8859-1 的第一部分(实体编号为 0-127)是原始ASCII字符集。它包含数字、大写和小写英文字母以及一些特殊字符。
如需更深入的研究,请访问我们的完整 ASCII 参考。
| 字符 | 实体编号 | 实体名称 | 描述 |
|---|---|---|---|
| 0 - 31 | Control characters | ||
| 32 | space | ||
| ! | 33 | exclamation mark | |
| " | 34 | " | quotation mark |
| # | 35 | number sign | |
| $ | 36 | dollar sign | |
| % | 37 | percent sign | |
| & | 38 | & | ampersand |
| ' | 39 | apostrophe | |
| ( | 40 | left parenthesis | |
| ) | 41 | right parenthesis | |
| * | 42 | asterisk | |
| + | 43 | plus sign | |
| , | 44 | comma | |
| - | 45 | hyphen-minus | |
| . | 46 | full stop | |
| / | 47 | solidus | |
| 0 | 48 | digit zero | |
| 1 | 49 | digit one | |
| 2 | 50 | digit two | |
| 3 | 51 | digit three | |
| 4 | 52 | digit four | |
| 5 | 53 | digit five | |
| 6 | 54 | digit six | |
| 7 | 55 | digit seven | |
| 8 | 56 | digit eight | |
| 9 | 57 | digit nine | |
| : | 58 | colon | |
| ; | 59 | semicolon | |
| < | 60 | < | less-than sign |
| = | 61 | equals sign | |
| > | 62 | > | greater-than sign |
| ? | 63 | question mark | |
| @ | 64 | commercial at | |
| A | 65 | Latin capital letter A | |
| B | 66 | Latin capital letter B | |
| C | 67 | Latin capital letter C | |
| D | 68 | Latin capital letter D | |
| E | 69 | Latin capital letter E | |
| F | 70 | Latin capital letter F | |
| G | 71 | Latin capital letter G | |
| H | 72 | Latin capital letter H | |
| I | 73 | Latin capital letter I | |
| J | 74 | Latin capital letter J | |
| K | 75 | Latin capital letter K | |
| L | 76 | Latin capital letter L | |
| M | 77 | Latin capital letter M | |
| N | 78 | Latin capital letter N | |
| O | 79 | Latin capital letter O | |
| P | 80 | Latin capital letter P | |
| Q | 81 | Latin capital letter Q | |
| R | 82 | Latin capital letter R | |
| S | 83 | Latin capital letter S | |
| T | 84 | Latin capital letter T | |
| U | 85 | Latin capital letter U | |
| V | 86 | Latin capital letter V | |
| W | 87 | Latin capital letter W | |
| X | 88 | Latin capital letter X | |
| Y | 89 | Latin capital letter Y | |
| Z | 90 | Latin capital letter Z | |
| [ | 91 | left square bracket | |
| \ | 92 | reverse solidus | |
| ] | 93 | right square bracket | |
| ^ | 94 | circumflex accent | |
| _ | 95 | low line | |
| ` | 96 | grave accent | |
| a | 97 | Latin small letter a | |
| b | 98 | Latin small letter b | |
| c | 99 | Latin small letter c | |
| d | 100 | Latin small letter d | |
| e | 101 | Latin small letter e | |
| f | 102 | Latin small letter f | |
| g | 103 | Latin small letter g | |
| h | 104 | Latin small letter h | |
| i | 105 | Latin small letter i | |
| j | 106 | Latin small letter j | |
| k | 107 | Latin small letter k | |
| l | 108 | Latin small letter l | |
| m | 109 | Latin small letter m | |
| n | 110 | Latin small letter n | |
| o | 111 | Latin small letter o | |
| p | 112 | Latin small letter p | |
| q | 113 | Latin small letter q | |
| r | 114 | Latin small letter r | |
| s | 115 | Latin small letter s | |
| t | 116 | Latin small letter t | |
| u | 117 | Latin small letter u | |
| v | 118 | Latin small letter v | |
| w | 119 | Latin small letter w | |
| x | 120 | Latin small letter x | |
| y | 121 | Latin small letter y | |
| z | 122 | Latin small letter z | |
| { | 123 | left curly bracket | |
| | | 124 | vertical line | |
| } | 125 | right curly bracket | |
| ~ | 126 | tilde | |
| 127 | Control character |
ISO-8859-1 和 Windows-1252
ISO-8859-1和Windows-1252都是单字节字符编码,主要用于西欧语言,但它们有一些重要区别。
- 在
ISO-8859-1中,未定义 128 到 159 之间的字符。 - 在
Windows-1252中,从 128 到 159 的字符用于某些有用的符号。
如需更深入的研究,请访问我们的完整 ANSI(Windows-1252)参考。
由于许多网站都声明ISO-8859-1并使用从 128 到 159 的值,就好像它们使用的是Windows-1252一样,大多数浏览器将显示Windows-1252字符集中的这些字符。
| 字符 | 实体编号 | 实体名称 | 描述 |
|---|---|---|---|
| € | 128 | € | euro sign |
| 129 | NOT USED | ||
| ‚ | 130 | ‚ | single low-9 quotation mark |
| ƒ | 131 | ƒ | Latin small letter f with hook |
| „ | 132 | „ | double low-9 quotation mark |
| … | 133 | … | horizontal ellipsis |
| † | 134 | † | dagger |
| ‡ | 135 | ‡ | double dagger |
| ˆ | 136 | ˆ | modifier letter circumflex accent |
| ‰ | 137 | ‰ | per mille sign |
| Š | 138 | Š | Latin capital letter S with caron |
| ‹ | 139 | ‹ | single left-pointing angle quotation mark |
| Œ | 140 | Œ | Latin capital ligature OE |
| 141 | NOT USED | ||
| Ž | 142 | Ž | Latin capital letter Z with caron |
| 143 | NOT USED | ||
| 144 | NOT USED | ||
| ‘ | 145 | ‘ | left single quotation mark |
| ’ | 146 | ’ | right single quotation mark |
| “ | 147 | “ | left double quotation mark |
| ” | 148 | ” | right double quotation mark |
| • | 149 | • | bullet |
| – | 150 | – | en dash |
| — | 151 | — | em dash |
| ˜ | 152 | ˜ | small tilde |
| ™ | 153 | ™ | trade mark sign |
| š | 154 | š | Latin small letter s with caron |
| › | 155 | › | single right-pointing angle quotation mark |
| œ | 156 | œ | Latin small ligature oe |
| 157 | NOT USED | ||
| ž | 158 | ž | Latin small letter z with caron |
| Ÿ | 159 | Ÿ | Latin capital letter Y with diaeresis |
ISO-8859-1 符号
ISO-8859-1(从 160 到 191 的编码)的下一部分包含常用的特殊字符。
| 字符 | 实体编号 | 实体名称 | 描述 |
|---|---|---|---|
|   | | non-breaking space | |
| ¡ | ¡ | ¡ | inverted exclamation mark |
| ¢ | ¢ | ¢ | cent |
| £ | £ | £ | pound |
| ¤ | ¤ | ¤ | currency |
| ¥ | ¥ | ¥ | yen |
| ¦ | ¦ | ¦ | broken vertical bar |
| § | § | § | section |
| ¨ | ¨ | ¨ | spacing diaeresis |
| © | © | © | copyright |
| ª | ª | ª | feminine ordinal indicator |
| « | « | « | angle quotation mark (left) |
| ¬ | ¬ | ¬ | negation |
| | ­ | ­ | soft hyphen |
| ® | ® | ® | registered trademark |
| ¯ | ¯ | ¯ | spacing macron |
| ° | ° | ° | degree |
| ± | ± | ± | plus-or-minus |
| ² | ² | ² | superscript 2 |
| ³ | ³ | ³ | superscript 3 |
| ´ | ´ | ´ | spacing acute |
| µ | µ | µ | micro |
| ¶ | ¶ | ¶ | paragraph |
| · | · | · | middle dot |
| ¸ | ¸ | ¸ | spacing cedilla |
| ¹ | ¹ | ¹ | superscript 1 |
| º | º | º | masculine ordinal indicator |
| » | » | » | angle quotation mark (right) |
| ¼ | ¼ | ¼ | fraction 1/4 |
| ½ | ½ | ½ | fraction 1/2 |
| ¾ | ¾ | ¾ | fraction 3/4 |
| ¿ | ¿ | ¿ | inverted question mark |
评论区 0
发表评论
教程介绍
HTML字符集涵盖了ASCII、Windows-1252、ISO-8859-1(HTML4标准)和UTF-8。
55
章节
175
阅读
0
评论
反馈提交成功
感谢您的反馈,我们将尽快处理您的反馈