HTML开发特殊字符是没办法原样输出的,必须用到实体,为了以后查看方便,收藏一下实体对照表是必要的,另外,使用
实体参考(摘抄至网络)
字符 |
数字参考 |
实体参考 |
描述 |
" | " | " | Quotation mark |
& | & | & | Ampersand |
< | < | Less than | |
> | > | > | Greater than |
(空白) | Non-breaking space | ||
? | ¡ | ¡ | Inverted exclamation |
¢ | ¢ | ¢ | Cent sign |
£ | £ | £ | Pound sterling |
¤ | ¤ | ¤ | General currency sign |
¥ | ¥ | ¥ | Yen sign |
| | ¦ | ¦ | broken vertical bar |
§ | § | § | Section sign |
¨ | ¨ | ¨ | Diæresis / umlaut |
? | © | © | Copyright |
a | ª | ª | Feminine ordinal |
? | « | « | Left angle quote |
? | ¬ | ¬ | Not sign |
| &sny; | Soft hyphen | |
? | ® | ® | Registered trademark |
ˉ | ¯ | ¯ | Macron accent |
° | ° | ° | Degree sign |
± | ± | ± | Plus or minus |
2 | ² | ² | Superscript two |
3 | ³ | ³ | Superscript three |
′ | ´ | ´ | Acute accent |
μ | µ | µ | Micro sign |
? | ¶ | ¶ | Paragraph sign |
· | · | · | Middle dot |
? | ¸ | ¸ | Cedilla |
1 | ¹ | &supl; | Superscript one |
o | º | º | Masculine ordinal |
? | » | » | Right angle quote |
? | ¼ | ¼ | Fraction one quarter |
? | Ç | ½ | Fraction one half |
? | ¾ | ¾ | Fraction three-quarters |
à | À | ¿ | Inverted question mark |
à | À | À | Capital A, grave accent |
á | Á | Á | Capital A, acute accent |
? | Â | Â | Capital A, circumflex |
? | Ã | Ã | Capital A, tilde |
? | Ä | Ä | diæresis / umlau |
? | Å | Å | Capital A, ring |
? | Æ | Æ | Capital AE, ligature |
? | Ç | Ç | Capital C, cedilla |
è | È | È | Capital E, grave accent |
é | É | É | Capital E, acute accent |
ê | Ê | Ê | Capital E, circumflex |
? | Ë | Ë | diæresis / umlau |
ì | Ì | Ì | Capital I, grave accent |
í | Í | Í | Capital I, acute accent |
? | Î | Î | Capital I, circumflex |
? | Ï | &Imul; | diæresis / umlau |
D | Ð | Ð | Capital ETH, Icelandic |
? | Ñ | Ñ | Capital N, tilde |
ò | Ò | Ò | Capital O, grave accent |
ó | Ó | Ó | Capital O, acute accent |
? | Ô | Ô | Capital O, circumflex |
? | Õ | Õ | Capital O, tilde |
? | Ö | Ö | diæresis / umlau |
× | × | × | Multiplication sign |
? | Ø | Ø | Capital O, slash |
ù | Ù | Ù | Capital U, grave accent |
ú | Ú | Ú | Capital U, acute accent |
? | Û | Û | Capital U, circumflex |
ü | Ü | Ü | diæresis / umlau |
Y | Ý | Ý | Capital Y, acute accent |
T | Þ | Þ | Capital Thorn,Icelandic, |
? | ß | ß | German sz |
à | à | à | Small a, grave accent |
á | á | á | Small a, acute accent |
a | â | â | Small a, circumflex |
? | ã | ã | Small a, tilde |
? | ä | ä | diæresis / umlau |
? | å | å | Small a, ring |
? | æ | æ | Small ae ligature |
? | ç | ç | Small c, cedilla |
è | è | è | Small e, grave accent |
é | é | é | Small e, acute accent |
ê | ê | ê | Small e, circumflex |
? | ë | ë | diæresis / umlau |
ì | ì | ì | Small i, grave accent |
í | í | í | Small i, acute accent |
? | î | î | Small i, circumflex |
? | ï | ï | diæresis / umlau |
e | ð | ð | Small eth, Icelandic |
? | ñ | ñ | Small n, tilde |
ò | ò | ò | Small o, grave accent |
ó | ó | ó | Small o, acute accent |
? | ô | ô | Small o, circumflex |
? | õ | õ | Small o, tilde |
? | ö | ö | diæresis / umlau |
÷ | ÷ | ÷ | Division sign, |
? | ø | ø | Small o, slash |
ù | ù | ù | Small u, grave accent |
ú | ú | ú | Small u, acute accent |
? | û | û | Small u, circumflex |
ü | ü | ü | diæresis / umlau |
y | ý | ý | Small y, acute accetn |
t | þ | þ | Small thorn, Icelandic |
? | ÿ | ÿ | diæresis / umlaut |
以上就介绍了HTML实体对照表,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。