HTML ISO-8859-1

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
< < &lt; less-than
> > &gt; greater-than

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


ISO 8859-1 符号实体

字符 实体编号 实体名称 描述
  &nbsp; non-breaking space
¡ ¡ &iexcl; inverted exclamation mark
¢ ¢ &cent; cent
£ £ &pound; pound
¤ ¤ &curren; currency
¥ ¥ &yen; yen
¦ ¦ &brvbar; broken vertical bar
§ § &sect; section
¨ ¨ &uml; spacing diaeresis
© © &copy; copyright
ª ª &ordf; feminine ordinal indicator
« « &laquo; angle quotation mark (left)
¬ ¬ &not; negation
­ &shy; soft hyphen
® ® &reg; registered trademark
¯ ¯ &macr; spacing macron
° ° &deg; degree
± ± &plusmn; plus-or-minus
² ² &sup2; superscript 2
³ ³ &sup3; superscript 3
´ ´ &acute; spacing acute
µ µ &micro; micro
&para; paragraph
· · &middot; middle dot
¸ ¸ &cedil; spacing cedilla
¹ ¹ &sup1; superscript 1
º º &ordm; masculine ordinal indicator
» » &raquo; angle quotation mark (right)
¼ ¼ &frac14; fraction 1/4
½ ½ &frac12; fraction 1/2
¾ ¾ &frac34; fraction 3/4
¿ ¿ &iquest; inverted question mark
× × &times; multiplication
÷ ÷ &divide; division

ISO 8859-1 字符实体

字符 实体编号 实体名称 描述
À À &Agrave; capital a, grave accent
Á Á &Aacute; capital a, acute accent
  &Acirc; capital a, circumflex accent
à à &Atilde; capital a, tilde
Ä Ä &Auml; capital a, umlaut mark
Å Å &Aring; capital a, ring
Æ Æ &AElig; capital ae
Ç Ç &Ccedil; capital c, cedilla
È È &Egrave; capital e, grave accent
É É &Eacute; capital e, acute accent
Ê Ê &Ecirc; capital e, circumflex accent
Ë Ë &Euml; capital e, umlaut mark
Ì Ì &Igrave; capital i, grave accent
Í Í &Iacute; capital i, acute accent
Î Î &Icirc; capital i, circumflex accent
Ï Ï &Iuml; capital i, umlaut mark
Ð Ð &ETH; capital eth, Icelandic
Ñ Ñ &Ntilde; capital n, tilde
Ò Ò &Ograve; capital o, grave accent
Ó Ó &Oacute; capital o, acute accent
Ô Ô &Ocirc; capital o, circumflex accent
Õ Õ &Otilde; capital o, tilde
Ö Ö &Ouml; capital o, umlaut mark
Ø Ø &Oslash; capital o, slash
Ù Ù &Ugrave; capital u, grave accent
Ú Ú &Uacute; capital u, acute accent
Û Û &Ucirc; capital u, circumflex accent
Ü Ü &Uuml; capital u, umlaut mark
Ý Ý &Yacute; capital y, acute accent
Þ Þ &THORN; capital THORN, Icelandic
ß ß &szlig; small sharp s, German
à à &agrave; small a, grave accent
á á &aacute; small a, acute accent
â â &acirc; small a, circumflex accent
ã ã &atilde; small a, tilde
ä ä &auml; small a, umlaut mark
å å &aring; small a, ring
æ æ &aelig; small ae
ç ç &ccedil; small c, cedilla
è è &egrave; small e, grave accent
é é &eacute; small e, acute accent
ê ê &ecirc; small e, circumflex accent
ë ë &euml; small e, umlaut mark
ì ì &igrave; small i, grave accent
í í &iacute; small i, acute accent
î î &icirc; small i, circumflex accent
ï ï &iuml; small i, umlaut mark
ð ð &eth; small eth, Icelandic
ñ ñ &ntilde; small n, tilde
ò ò &ograve; small o, grave accent
ó ó &oacute; small o, acute accent
ô ô &ocirc; small o, circumflex accent
õ õ &otilde; small o, tilde
ö ö &ouml; small o, umlaut mark
ø ø &oslash; small o, slash
ù ù &ugrave; small u, grave accent
ú ú &uacute; small u, acute accent
û û &ucirc; small u, circumflex accent
ü ü &uuml; small u, umlaut mark
ý ý &yacute; small y, acute accent
þ þ &thorn; small thorn, Icelandic
ÿ ÿ &yuml; small y, umlaut mark

 

版权声明:
作者:自由看
链接:https://www.ziyoukan.cn/?p=4396
来源:自由看
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>