本文給大家整理了最全的HTML實(shí)體字符!
HTML字符實(shí)體
做開發(fā)的小伙伴們都知道,HTML有一些預(yù)留字符,瀏覽器在解析時(shí)不能正確的顯示,這個(gè)時(shí)候我們就需要使用字符實(shí)體進(jìn)行替換。同時(shí),有一些鍵盤上找不見的符號(hào)我們也可使使用字符實(shí)體進(jìn)行替換,下面是我整理的幾類我們經(jīng)常遇到的字符。
1.常見的HTML預(yù)留字符
字符 |
實(shí)體編號(hào) |
實(shí)體名稱 |
描述 |
空格 |
|
  |
|
< |
小于號(hào) |
< |
< |
> |
大于號(hào) |
> |
> |
& |
和號(hào) |
& |
& |
" |
引號(hào) |
" |
" |
’ |
撇號(hào) |
' (IE不支持) |
' |
¢ |
分 |
¢ |
¢ |
£ |
鎊 |
£ |
£ |
¥ |
人民幣/日元 |
¥ |
¥ |
€ |
歐元 |
€ |
€ |
§ |
小節(jié) |
§ |
§ |
? |
版權(quán) |
© |
© |
? |
注冊(cè)商標(biāo) |
® |
® |
™ |
商標(biāo) |
™ |
™ |
× |
乘號(hào) |
× |
× |
÷ |
除號(hào) |
÷ |
÷ |
2.常用的音標(biāo)符號(hào)
音標(biāo)符 |
字符 |
構(gòu)成 |
輸出結(jié)果 |
? |
a |
à |
a? |
? |
a |
á |
a? |
? |
a |
â |
a? |
? |
a |
ã |
a? |
? |
O |
Ò |
O? |
? |
O |
Ó |
O? |
? |
O |
Ô |
O? |
? |
O |
Õ |
O? |
3.完整的HTML預(yù)留字符
字符 |
實(shí)體編號(hào) |
實(shí)體名稱 |
描述 |
  |
|
非間斷空格(non-breaking space) |
|
? |
¡ |
¡ |
倒置感嘆號(hào)(inverted exclamation mark) |
¢ |
¢ |
¢ |
美分符號(hào)(cent) |
£ |
£ |
£ |
英鎊符號(hào)(pound) |
¤ |
¤ |
¤ |
貨幣符號(hào)(currency) |
¥ |
¥ |
¥ |
人民幣/日元符號(hào)(yen) |
| |
¦ |
¦ |
間斷的豎杠(broken vertical bar) |
§ |
§ |
§ |
小節(jié)號(hào)(section) |
¨ |
¨ |
¨ |
分音符號(hào)(spacing diaeresis) |
? |
© |
© |
版權(quán)所有(copyright) |
a |
ª |
ª |
陰性序數(shù)記號(hào)(feminine ordinal indicator) |
? |
« |
« |
左雙角引號(hào)(angle quotation mark (left)) |
? |
¬ |
¬ |
否定符號(hào)(negation) |
- |
­ |
­ |
軟連字符(soft hyphen) |
? |
® |
® |
注冊(cè)商標(biāo)(registered trademark) |
ˉ |
¯ |
¯ |
長(zhǎng)音符號(hào)(spacing macron) |
° |
° |
° |
度符號(hào)(degree) |
± |
± |
± |
加減號(hào)/正負(fù)號(hào)(plus-or-minus) |
2 |
² |
² |
上標(biāo) 2(superscript 2) |
3 |
³ |
³ |
上標(biāo) 3(superscript 3) |
′ |
´ |
´ |
尖音符號(hào)(spacing acute) |
μ |
µ |
µ |
微米符號(hào)(micro) |
? |
¶ |
¶ |
段落符號(hào)(paragraph) |
· |
· |
· |
中間點(diǎn)(middle dot) |
? |
¸ |
¸ |
變音符號(hào)(spacing cedilla) |
1 |
¹ |
¹ |
上標(biāo) 1(superscript 1) |
o |
º |
º |
陽性序數(shù)記號(hào)(masculine ordinal indicator) |
? |
» |
» |
右雙角引號(hào)(angle quotation mark (right)) |
? |
¼ |
¼ |
1/4 分?jǐn)?shù)(fraction 1/4) |
? |
½ |
½ |
1/2 分?jǐn)?shù)(fraction 1/2) |
? |
¾ |
¾ |
3/4 分?jǐn)?shù)(fraction 3/4) |
? |
¿ |
¿ |
倒置問號(hào)(inverted question mark) |
4.HTML數(shù)字字符實(shí)體
字符 |
實(shí)體編號(hào) |
實(shí)體名稱 |
描述 |
? |
∀ |
∀ |
for all |
? |
∂ |
∂ |
part |
? |
∃ |
∃ |
exists |
? |
∅ |
∅ |
empty |
? |
∇ |
∇ |
nabla |
∈ |
∈ |
∈ |
isin |
? |
∉ |
∉ |
notin |
? |
∋ |
∋ |
ni |
∏ |
∏ |
∏ |
prod |
∑ |
∑ |
∑ |
sum |
? |
− |
− |
minus |
? |
∗ |
∗ |
lowast |
√ |
√ |
√ |
square root |
∝ |
∝ |
∝ |
proportional to |
∞ |
∞ |
∞ |
infinity |
∠ |
∠ |
∠ |
angle |
∧ |
∧ |
∧ |
and |
∨ |
∨ |
∨ |
or |
∩ |
∩ |
∩ |
cap |
∪ |
∪ |
∪ |
cup |
∫ |
∫ |
∫ |
integral |
∴ |
∴ |
∴ |
therefore |
~ |
∼ |
∼ |
similar to |
? |
≅ |
≅ |
congruent to |
≈ |
≈ |
≈ |
almost equal |
≠ |
≠ |
≠ |
not equal |
≡ |
≡ |
≡ |
equivalent |
≤ |
≤ |
≤ |
less or equal |
≥ |
≥ |
≥ |
greater or equal |
? |
⊂ |
⊂ |
subset of |
? |
⊃ |
⊃ |
superset of |
? |
⊄ |
⊄ |
not subset of |
? |
⊆ |
⊆ |
subset or equal |
? |
⊇ |
⊇ |
superset or equal |
⊕ |
⊕ |
⊕ |
circled plus |
? |
⊗ |
⊗ |
circled times |
⊥ |
⊥ |
⊥ |
perpendicular |
? |
⋅ |
⋅ |
dot operator |
5.英語教學(xué)中常用的字符實(shí)體
字符 |
實(shí)體編號(hào) |
實(shí)體名稱 |
描述 |
à |
À |
À |
大寫字母 A,重音(grave accent) |
á |
Á |
Á |
大寫字母 A,尖音(acute accent) |
? |
 |
 |
大寫字母 A,抑揚(yáng)音(circumflex accent) |
? |
à |
à |
大寫字母 A,腭化(tilde) |
? |
Ä |
Ä |
大寫字母 A,帶有變音符號(hào)標(biāo)記(umlaut mark) |
? |
Å |
Å |
大寫字母 A,帶有上圓圈(ring) |
? |
Æ |
Æ |
大寫字母 AE |
? |
Ç |
Ç |
大寫字母 C,變音(cedilla) |
è |
È |
È |
大寫字母 E,重音(grave accent) |
é |
É |
É |
大寫字母 E,尖音(acute accent) |
ê |
Ê |
Ê |
大寫字母 E,抑揚(yáng)音(circumflex accent) |
? |
Ë |
Ë |
大寫字母 E,帶有變音符號(hào)標(biāo)記(umlaut mark) |
ì |
Ì |
Ì |
大寫字母 I,重音(grave accent) |
í |
Í |
Í |
大寫字母 I,尖音(acute accent) |
? |
Î |
Î |
大寫字母 I,抑揚(yáng)音(circumflex accent) |
? |
Ï |
Ï |
大寫字母 I,帶有變音符號(hào)標(biāo)記(umlaut mark) |
D |
Ð |
Ð |
冰島語大寫字母 eth |
? |
Ñ |
Ñ |
大寫字母 N,腭化(tilde) |
ò |
Ò |
Ò |
大寫字母 O,重音(grave accent) |
ó |
Ó |
Ó |
大寫字母 O,尖音(acute accent) |
? |
Ô |
Ô |
大寫字母 O,抑揚(yáng)音(circumflex accent) |
? |
Õ |
Õ |
大寫字母 O,腭化(tilde) |
? |
Ö |
Ö |
大寫字母 O,帶有變音符號(hào)標(biāo)記(umlaut mark) |
× |
× |
× |
乘號(hào)(multiplication) |
? |
Ø |
Ø |
大寫字母 O,帶有斜線(slash) |
ù |
Ù |
Ù |
大寫字母 U,重音(grave accent) |
ú |
Ú |
Ú |
大寫字母 U,尖音(acute accent) |
? |
Û |
Û |
大寫字母 U,抑揚(yáng)音(circumflex accent) |
ü |
Ü |
Ü |
大寫字母 U,帶有變音符號(hào)標(biāo)記(umlaut mark) |
Y |
Ý |
Ý |
大寫字母 Y,尖音(acute accent) |
T |
Þ |
Þ |
冰島語大寫字母 THORN |
? |
ß |
ß |
德語小寫字母 sharp s |
à |
à |
à |
小寫字母 a,重音(grave accent) |
á |
á |
á |
小寫字母 a,尖音(acute accent) |
a |
â |
â |
小寫字母 a,抑揚(yáng)音(circumflex accent) |
? |
ã |
ã |
小寫字母 a,腭化(tilde) |
? |
ä |
ä |
小寫字母 a,帶有變音符號(hào)標(biāo)記(umlaut mark) |
? |
å |
å |
小寫字母 a,帶有上圓圈(ring) |
? |
æ |
æ |
小寫字母 ae |
? |
ç |
ç |
小寫字母 c,變音(cedilla) |
è |
è |
è |
小寫字母 e,重音(grave accent) |
é |
é |
é |
小寫字母 e,尖音(acute accent) |
ê |
ê |
ê |
小寫字母 e,抑揚(yáng)音(circumflex accent) |
? |
ë |
ë |
小寫字母 e,帶有變音符號(hào)標(biāo)記(umlaut mark) |
ì |
ì |
ì |
小寫字母 i,重音(grave accent) |
í |
í |
í |
小寫字母 i,尖音(acute accent) |
? |
î |
î |
小寫字母 i,抑揚(yáng)音(circumflex accent) |
? |
ï |
ï |
小寫字母 i,帶有變音符號(hào)標(biāo)記(umlaut mark) |
e |
ð |
ð |
冰島語小寫字母 eth |
? |
ñ |
ñ |
小寫字母 n,腭化(tilde) |
ò |
ò |
ò |
小寫字母 o,重音(grave accent) |
ó |
ó |
ó |
小寫字母 o,尖音(acute accent) |
? |
ô |
ô |
小寫字母 o,抑揚(yáng)音(circumflex accent) |
? |
õ |
õ |
小寫字母 o,腭化(tilde) |
? |
ö |
ö |
小寫字母 o,帶有變音符號(hào)標(biāo)記(umlaut mark) |
÷ |
÷ |
÷ |
除號(hào)(division) |
? |
ø |
ø |
小寫字母 o,帶有斜線(slash) |
ù |
ù |
ù |
小寫字母 u,重音(grave accent) |
ú |
ú |
ú |
小寫字母 u,尖音(acute accent) |
? |
û |
û |
小寫字母 u,抑揚(yáng)音(circumflex accent) |
ü |
ü |
ü |
小寫字母 u,帶有變音符號(hào)標(biāo)記(umlaut mark) |
y |
ý |
ý |
小寫字母 y,尖音(acute accent) |
t |
þ |
þ |
冰島語小寫字母 thorn |
? |
ÿ |
ÿ |
小寫字母 y,帶有變音符號(hào)標(biāo)記(umlaut mark) |
史上最全HTML實(shí)體字符整理