Special Entities
The following table gives the character entity reference, decimal character reference, and hexadecimal character reference for markup-significant and internationalization characters, as well as the rendering of each in your browser. Glyphs of the characters are available at the Unicode Consortium.
With the exception of HTML 2.0's ", &, <, and >, these entities are all new in HTML 4.0 and may not be supported by old browsers. Support in recent browsers is good.
Character | Entity | Decimal | Hex | Rendering in Your Browser |
---|
Entity | Decimal | Hex |
---|
quotation mark = APL quote | " | " | " | " | " | " |
ampersand | & | & | & | & | & | & |
less-than sign | < | < | < | < | < | < |
greater-than sign | > | > | > | > | > | > |
Latin capital ligature OE | Œ | Œ | Œ | Œ | Œ | Œ |
Latin small ligature oe | œ | œ | œ | œ | œ | œ |
Latin capital letter S with caron | Š | Š | Š | Š | Š | Š |
Latin small letter s with caron | š | š | š | š | š | š |
Latin capital letter Y with diaeresis | Ÿ | Ÿ | Ÿ | Ÿ | Ÿ | Ÿ |
modifier letter circumflex accent | ˆ | ˆ | ˆ | ˆ | ˆ | ˆ |
small tilde | ˜ | ˜ | ˜ | ˜ | ˜ | ˜ |
en space | | | | | | |
em space | | | | | | |
thin space | | | | | | |
zero width non-joiner | | | | | | |
zero width joiner | | | | | | |
left-to-right mark | | | | | | |
right-to-left mark | | | | | | |
en dash | – | – | – | – | – | – |
em dash | — | — | — | — | — | — |
left single quotation mark | ‘ | ‘ | ‘ | ‘ | ‘ | ‘ |
right single quotation mark | ’ | ’ | ’ | ’ | ’ | ’ |
single low-9 quotation mark | ‚ | ‚ | ‚ | ‚ | ‚ | ‚ |
left double quotation mark | “ | “ | “ | “ | “ | “ |
right double quotation mark | ” | ” | ” | ” | ” | ” |
double low-9 quotation mark | „ | „ | „ | „ | „ | „ |
dagger | † | † | † | † | † | † |
double dagger | ‡ | ‡ | ‡ | ‡ | ‡ | ‡ |
per mille sign | ‰ | ‰ | ‰ | ‰ | ‰ | ‰ |
single left-pointing angle quotation mark | ‹ | ‹ | ‹ | ‹ | ‹ | ‹ |
single right-pointing angle quotation mark | › | › | › | › | › | › |
euro sign | ? | ? | ? | ? | ? | ? |
&指令
什麼是 "&" 指令
在撰寫HTML網頁時,經常會用到 "&" (Ampersand)指令,尤其在我撰寫 HTML新手入門 及 HTML再接再厲 時,幾乎每一頁都用上許多次,以顯示:HTML指令中常用的 < 和 >,或是鍵盤上沒有的特別符號。
什麼樣子的特別符號
舉例而言,你想要有個版權符號,例如 © 或是 ®,但是鍵盤上找不到,難道要自己畫一個嗎!? 或者是你在我介紹HTML的網頁中會看到 <HTML>、<P>等等指令敘述,可是若 HTML 或 P 包含於 < > 之中,這些指令應該是不會顯示在網頁上的啊!? 這是怎麼弄的呢!?
你知道嗎,你的瀏覽程式除了可以解讀包含於 < > 中的指令外,也可以解讀包含於 & 和 ; (分號)中的指令。你只要再記得3~5個英文字意簡寫,就可以在網頁中任意加入特殊符號了。
以下就是使用 &指令 來顯示的常用符號表,更多的符號請參閱 特殊字元表 一篇。(註:中文版或英文版IE5.0以上皆適用,但舊版瀏覽程式可能無法正確顯示)。
特殊符號 | 英文字意簡寫表示 |
< | < |
> | > |
& | & |
" | " |
(空格) | |
Ç | Ç |
ç | &ccdil; |
© | © |
Ñ | Ñ |
ñ | ñ |
Þ | Þ |
þ | þ |
Ý | Ý |
ý | ý |
ÿ | ÿ |
ß | ß |
Æ | Æ |
Á | Á |
 |  |
À | À |
Å | Å |
à | à |
Ä | Ä |
æ | æ |
á | á |
â | â |
à | à |
å | å |
ã | ã |
ä | ä |
Ð | Ð |
É | É |
Ê | Ê |
È | È |
Ë | Ë |
ð | ð |
é | é |
ê | ê |
è | è |
ë | ë |
Í | Í |
Î | Î |
Ì | Ì |
Ï | Ï |
í | í |
î | î |
ì | ì |
ï | ï |
Ó | Ó |
Ô | Ô |
Ò | Ò |
Ø | Ø |
Õ | Õ |
Ö | Ö |
ó | ó |
ô | ô |
ò | ò |
ø | ø |
õ | õ |
ö | ö |
Ú | Ú |
Û | Û |
Ù | Ù |
Ü | Ü |
ú | ú |
û | û |
ù | ù |
ü | ü |
® | ® |
± | ± |
µ | µ |
¶ | ¶ |
· | · |
¢ | ¢ |
£ | £ |
¥ | ¥ |
¼ | ¼ |
½ | ½ |
¾ | ¾ |
¹ | ¹ |
² | ² |
³ | ³ |
¿ | ¿ |
° | ° |
¦ | ¦ |
§ | § |
« | « |
» | » |