HTML ISO-8859-1 參考手冊(cè)

2022-06-01 14:26 更新

現(xiàn)代的瀏覽器支持的字符集:


ISO-8859-1

ISO-8859-1 是大多數(shù)瀏覽器默認(rèn)的字符集。

ISO-8859-1 是單字節(jié)編碼,它向下兼容 ASCII。

ISO-8859-1 的較低部分(從 1 到 127 之間的代碼)是最初的 ASCII 字符集(0-9 的數(shù)字,大寫(xiě)和小寫(xiě)英文字母表,以及一些特殊字符)。

ISO-8859-1 的較高部分(從 160 到 255 之間的代碼)包含了一些西歐國(guó)家使用的字符和一些被廣泛使用的特殊字符,它們?nèi)加袑?shí)體名稱(chēng)。

這些符號(hào)中的大多數(shù)都可以在不進(jìn)行實(shí)體引用的情況下使用,但是實(shí)體名稱(chēng)或?qū)嶓w編號(hào)為那些不容易通過(guò)鍵盤(pán)鍵入的符號(hào)提供了表達(dá)的方法。

提示:實(shí)體名稱(chēng)對(duì)大小寫(xiě)敏感。


HTML 預(yù)留字符

HTML 和 XHTML 預(yù)留了一些字符。比如,您不能使用包含這些字符的文本,因?yàn)闉g覽器可能會(huì)誤以為是 HTML 標(biāo)簽。

HTML 和 XHTML 中央處理器必須識(shí)別以下表格所列舉的五種特殊字符:

字符 實(shí)體編號(hào) 實(shí)體名稱(chēng) 描述
" " " 雙引號(hào)
' ' ' 單引號(hào)
& & & &(表示and的符號(hào))
< &#60; &lt; 小于號(hào)
> &#62; &gt; 大于號(hào)

注釋?zhuān)?/strong> 實(shí)體名稱(chēng)對(duì)大小寫(xiě)敏感!


ISO 8859-1 符號(hào)實(shí)體

字符 實(shí)體編號(hào) 實(shí)體名稱(chēng) 描述
  &#160; &nbsp; 空格
? &#161; &iexcl; inverted exclamation mark
&#162; &cent; cent
&#163; &pound; pound
¤ &#164; &curren; currency
&#165; &yen; yen
| &#166; &brvbar; broken vertical bar
§ &#167; &sect; section
¨ &#168; &uml; spacing diaeresis
? &#169; &copy; copyright
a &#170; &ordf; feminine ordinal indicator
? &#171; &laquo; angle quotation mark (left)
? &#172; &not; negation
-- &#173; &shy; soft hyphen
? &#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
μ &#181; &micro; micro
? &#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)
? &#188; &frac14; fraction 1/4
? &#189; &frac12; fraction 1/2
? &#190; &frac34; fraction 3/4
? &#191; &iquest; inverted question mark
× &#215; &times; multiplication
÷ &#247; &divide; division

ISO 8859-1 字符實(shí)體

字符 實(shí)體編號(hào) 實(shí)體名稱(chēng) 描述
à &#192; &Agrave; capital a, grave accent
á &#193; &Aacute; capital a, acute accent
? &#194; &Acirc; capital a, circumflex accent
? &#195; &Atilde; capital a, tilde
? &#196; &Auml; capital a, umlaut mark
? &#197; &Aring; capital a, ring
? &#198; &AElig; capital ae
? &#199; &Ccedil; capital c, cedilla
è &#200; &Egrave; capital e, grave accent
é &#201; &Eacute; capital e, acute accent
ê &#202; &Ecirc; capital e, circumflex accent
? &#203; &Euml; capital e, umlaut mark
ì &#204; &Igrave; capital i, grave accent
í &#205; &Iacute; capital i, acute accent
? &#206; &Icirc; capital i, circumflex accent
? &#207; &Iuml; capital i, umlaut mark
D &#208; &ETH; capital eth, Icelandic
? &#209; &Ntilde; capital n, tilde
ò &#210; &Ograve; capital o, grave accent
ó &#211; &Oacute; capital o, acute accent
? &#212; &Ocirc; capital o, circumflex accent
? &#213; &Otilde; capital o, tilde
? &#214; &Ouml; capital o, umlaut mark
? &#216; &Oslash; capital o, slash
ù &#217; &Ugrave; capital u, grave accent
ú &#218; &Uacute; capital u, acute accent
? &#219; &Ucirc; capital u, circumflex accent
ü &#220; &Uuml; capital u, umlaut mark
Y &#221; &Yacute; capital y, acute accent
T &#222; &THORN; capital THORN, Icelandic
? &#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
? &#227; &atilde; small a, tilde
? &#228; &auml; small a, umlaut mark
? &#229; &aring; small a, ring
? &#230; &aelig; small ae
? &#231; &ccedil; small c, cedilla
è &#232; &egrave; small e, grave accent
é &#233; &eacute; small e, acute accent
ê &#234; &ecirc; small e, circumflex accent
? &#235; &euml; small e, umlaut mark
ì &#236; &igrave; small i, grave accent
í &#237; &iacute; small i, acute accent
? &#238; &icirc; small i, circumflex accent
? &#239; &iuml; small i, umlaut mark
e &#240; &eth; small eth, Icelandic
? &#241; &ntilde; small n, tilde
ò &#242; &ograve; small o, grave accent
ó &#243; &oacute; small o, acute accent
? &#244; &ocirc; small o, circumflex accent
? &#245; &otilde; small o, tilde
? &#246; &ouml; small o, umlaut mark
? &#248; &oslash; small o, slash
ù &#249; &ugrave; small u, grave accent
ú &#250; &uacute; small u, acute accent
? &#251; &ucirc; small u, circumflex accent
ü &#252; &uuml; small u, umlaut mark
y &#253; &yacute; small y, acute accent
t &#254; &thorn; small thorn, Icelandic
? &#255; &yuml; small y, umlaut mark

ISO-8859-1 與 Latin1 的關(guān)系

ISO-8859-1 的別名是 Latin1,有些環(huán)境下寫(xiě)作 Latin-1。

以上內(nèi)容是否對(duì)您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號(hào)
微信公眾號(hào)

編程獅公眾號(hào)