HTML ISO-8859-1 参考手册


现代的浏览器支持的字符集:


ISO-8859-1

ISO-8859-1 是大多数浏览器默认的字符集。

ISO-8859-1 的较低部分(从 1 到 127 之间的代码)是最初的 ASCII 字符集(0-9 的数字,大写和小写英文字母表,以及一些特殊字符)。

ISO-8859-1 的较高部分(从 160 到 255 之间的代码)包含了一些西欧国家使用的字符和一些被广泛使用的特殊字符,它们全都有实体名称。

这些符号中的大多数都可以在不进行实体引用的情况下使用,但是实体名称或实体编号为那些不容易通过键盘键入的符号提供了表达的方法。


HTML 预留字符

HTML and XHTML 预留了一些字符。比如,您不能使用包含这些字符的文本,因为浏览器可能会误以为是 HTML 标签。

HTML and XHTML 中央处理器必须识别以下表格所列举的五种特殊字符:

字符 实体编号 实体名称 描述
" " " quotation mark
' ' ' apostrophe 
& & & ampersand
< &#60; &lt; less-than
> &#62; &gt; greater-than

注释: 实体名称对大小写敏感!


ISO 8859-1 符号实体

字符 实体编号 实体名称 描述
  &#160; &nbsp; non-breaking space
! &#161; &iexcl; inverted exclamation mark
c &#162; &cent; cent
lb &#163; &pound; pound
¤ &#164; &curren; currency
yen &#165; &yen; yen
| &#166; &brvbar; broken vertical bar
§ &#167; &sect; section
¨ &#168; &uml; spacing diaeresis
(c) &#169; &copy; copyright
a &#170; &ordf; feminine ordinal indicator
<< &#171; &laquo; angle quotation mark (left)
not &#172; &not; negation
-- &#173; &shy; soft hyphen
(R) &#174; &reg; registered trademark
&#175; &macr; spacing macron
° &#176; &deg; degree
± &#177; &plusmn; plus-or-minus 
^2 &#178; &sup2; superscript 2
^3 &#179; &sup3; superscript 3
' &#180; &acute; spacing acute
u &#181; &micro; micro
P &#182; &para; paragraph
· &#183; &middot; middle dot
, &#184; &cedil; spacing cedilla
^1 &#185; &sup1; superscript 1
o &#186; &ordm; masculine ordinal indicator
>> &#187; &raquo; angle quotation mark (right)
1/4 &#188; &frac14; fraction 1/4
1/2 &#189; &frac12; fraction 1/2
3/4 &#190; &frac34; fraction 3/4
? &#191; &iquest; inverted question mark
× &#215; &times; multiplication
÷ &#247; &divide; division

ISO 8859-1 字符实体

字符 实体编号 实体名称 描述
`A &#192; &Agrave; capital a, grave accent
'A &#193; &Aacute; capital a, acute accent
^A &#194; &Acirc; capital a, circumflex accent
~A &#195; &Atilde; capital a, tilde
"A &#196; &Auml; capital a, umlaut mark
A &#197; &Aring; capital a, ring
AE &#198; &AElig; capital ae
C &#199; &Ccedil; capital c, cedilla
`E &#200; &Egrave; capital e, grave accent
'E &#201; &Eacute; capital e, acute accent
^E &#202; &Ecirc; capital e, circumflex accent
"E &#203; &Euml; capital e, umlaut mark
`I &#204; &Igrave; capital i, grave accent
'I &#205; &Iacute; capital i, acute accent
^I &#206; &Icirc; capital i, circumflex accent
"I &#207; &Iuml; capital i, umlaut mark
D &#208; &ETH; capital eth, Icelandic
~N &#209; &Ntilde; capital n, tilde
`O &#210; &Ograve; capital o, grave accent
'O &#211; &Oacute; capital o, acute accent
^O &#212; &Ocirc; capital o, circumflex accent
~O &#213; &Otilde; capital o, tilde
"O &#214; &Ouml; capital o, umlaut mark
O &#216; &Oslash; capital o, slash
`U &#217; &Ugrave; capital u, grave accent
'U &#218; &Uacute; capital u, acute accent
^U &#219; &Ucirc; capital u, circumflex accent
"U &#220; &Uuml; capital u, umlaut mark
'Y &#221; &Yacute; capital y, acute accent
Th &#222; &THORN; capital THORN, Icelandic
ss &#223; &szlig; small sharp s, German
à &#224; &agrave; small a, grave accent
á &#225; &aacute; small a, acute accent
^a &#226; &acirc; small a, circumflex accent
~a &#227; &atilde; small a, tilde
"a &#228; &auml; small a, umlaut mark
a &#229; &aring; small a, ring
ae &#230; &aelig; small ae
c &#231; &ccedil; small c, cedilla
è &#232; &egrave; small e, grave accent
é &#233; &eacute; small e, acute accent
ê &#234; &ecirc; small e, circumflex accent
"e &#235; &euml; small e, umlaut mark
ì &#236; &igrave; small i, grave accent
í &#237; &iacute; small i, acute accent
^i &#238; &icirc; small i, circumflex accent
"i &#239; &iuml; small i, umlaut mark
d &#240; &eth; small eth, Icelandic
~n &#241; &ntilde; small n, tilde
ò &#242; &ograve; small o, grave accent
ó &#243; &oacute; small o, acute accent
^o &#244; &ocirc; small o, circumflex accent
~o &#245; &otilde; small o, tilde
"o &#246; &ouml; small o, umlaut mark
o &#248; &oslash; small o, slash
ù &#249; &ugrave; small u, grave accent
ú &#250; &uacute; small u, acute accent
^u &#251; &ucirc; small u, circumflex accent
ü &#252; &uuml; small u, umlaut mark
'y &#253; &yacute; small y, acute accent
th &#254; &thorn; small thorn, Icelandic
"y &#255; &yuml; small y, umlaut mark