HTML开发特殊字符是没办法原样输出的,必须用到实体,为了以后查看方便,收藏一下实体对照表是必要的,另外,使用<xmp></xmp>标签可以原样输出,当然,也包括特殊字符啦!

实体参考(摘抄至网络)

字符

数字参考

实体参考

描述

" " &quot; Quotation mark
& & &amp; Ampersand
< < &lt; Less than
> > &gt; Greater than
 (空白)   &nbsp; Non-breaking space
¡ ¡ &iexcl; Inverted exclamation
¢ ¢ &cent; Cent sign
£ £ &pound; Pound sterling
¤ ¤ &curren; General currency sign
¥ ¥ &yen; Yen sign
¦ ¦ &brvbar; broken vertical bar
§ § &sect; Section sign
¨ ¨ &uml; Di&aelig;resis / umlaut
© © &copy; Copyright
ª ª &ordf; Feminine ordinal
« « &laquo; Left angle quote
¬ ¬ &not; Not sign
  ­ &sny; Soft hyphen
® ® &reg; Registered trademark
¯ ¯ &macr; Macron accent
° ° &deg; Degree sign
± ± &plusmn; Plus or minus
² ² &sup2; Superscript two
³ ³ &sup3; Superscript three
´ ´ &acute; Acute accent
µ µ &micro; Micro sign
&para; Paragraph sign
· · &middot; Middle dot
¸ ¸ &cedil; Cedilla
¹ ¹ &supl; Superscript one
º º &ordm; Masculine ordinal
» » &raquo; Right angle quote
¼ ¼ &frac14; Fraction one quarter
½ Ç &frac12; Fraction one half
¾ ¾ &frac34; Fraction three-quarters
À À &iquest; Inverted question mark
À À &Agrave; Capital A, grave accent
Á Á &Aacute; Capital A, acute accent
  &Acirc; Capital A, circumflex
à à &Atilde; Capital A, tilde
Ä Ä &Auml; di&aelig;resis / umlau
Å Å &Aring; Capital A, ring
Æ Æ &AElig; Capital AE, ligature
Ç Ç &Ccedil; Capital C, cedilla
È È &Egrave; Capital E, grave accent
É É &Eacute; Capital E, acute accent
Ê Ê &Ecirc; Capital E, circumflex
Ë Ë &Euml; di&aelig;resis / umlau
Ì Ì &Igrave; Capital I, grave accent
Í Í &Iacute; Capital I, acute accent
Î Î &Icirc; Capital I, circumflex
Ï Ï &Imul; di&aelig;resis / umlau
Ð Ð &ETH; Capital ETH, Icelandic
Ñ Ñ &Ntilde; Capital N, tilde
Ò Ò &Ograve; Capital O, grave accent
Ó Ó &Oacute; Capital O, acute accent
Ô Ô &Ocirc; Capital O, circumflex
Õ Õ &Otilde; Capital O, tilde
Ö Ö &Ouml; di&aelig;resis / umlau
× × &times; Multiplication sign
Ø Ø &Oslash; Capital O, slash
Ù Ù &Ugrave; Capital U, grave accent
Ú Ú &Uacute; Capital U, acute accent
Û Û &Ucirc; Capital U, circumflex
Ü Ü &Uuml; di&aelig;resis / umlau
Ý Ý &Yacute; Capital Y, acute accent
Þ Þ &THORN; Capital Thorn,Icelandic,
ß ß &szlig; German sz
à à &agrave; Small a, grave accent
á á &aacute; Small a, acute accent
â â &acirc; Small a, circumflex
ã ã &atilde; Small a, tilde
ä ä &auml; di&aelig;resis / umlau
å å &aring; Small a, ring
æ æ &aelig; Small ae ligature
ç ç &ccedil; Small c, cedilla
è è &egrave; Small e, grave accent
é é &eacute; Small e, acute accent
ê ê &ecirc; Small e, circumflex
ë ë &euml; di&aelig;resis / umlau
ì ì &igrave; Small i, grave accent
í í &iacute; Small i, acute accent
î î &icirc; Small i, circumflex
ï ï &iuml; di&aelig;resis / umlau
ð ð &eth; Small eth, Icelandic
ñ ñ &ntilde; Small n, tilde
ò ò &ograve; Small o, grave accent
ó ó &oacute; Small o, acute accent
ô ô &ocirc; Small o, circumflex
õ õ &otilde; Small o, tilde
ö ö &ouml; di&aelig;resis / umlau
÷ ÷ &divide; Division sign,
ø ø &oslash; Small o, slash
ù ù &ugrave; Small u, grave accent
ú ú &uacute; Small u, acute accent
û û &ucirc; Small u, circumflex
ü ü &uuml; di&aelig;resis / umlau
ý ý &yacute; Small y, acute accetn
þ þ &thorn; Small thorn, Icelandic
ÿ ÿ &yuml; di&aelig;resis / umlaut

<xmp></xmp>标签使用效果:

HTML实体对照表的更多相关文章

  1. html字符实体对照表

  2. html实体转换

    摘要: 在 HTML 中,某些字符是预留的.在 HTML 中不能使用小于号(<)和大于号(>),这是因为浏览器会误认为它们是标签.如果希望正确地显示预留字符,我们必须在 HTML 源代码中 ...

  3. PHP笔记(HTML篇)

    学过很多语言,最近终于决定要学PHP了. 学习PHP,首先总要学习HTML,那么,我也从HTML开始吧! 首先学习任何编程语言,看再多书,都离不开它——帮助文档 HTML帮助文档:http://pan ...

  4. PHP中我经常容易混淆的三组函数

    原文:http://www.ido321.com/1252.html 一.htmlentities() 和htmlspecialchars() 1.htmlentities() 1.1  功能:把字符 ...

  5. 8个很有用的PHP安全函数,你知道几个?

    原文:Useful functions to provide secure PHP application 译文:有用的PHP安全函数 译者:dwqs 安 全是编程非常重要的一个方面.在任何一种编程语 ...

  6. PHP安全过滤函数

    在PHP中,有些很有用的函数开源非常方便的防止你的网站遭受各种攻击,例如SQL注入攻击,XSS(Cross Site Scripting:跨站脚本)攻击等.   1. mysql_real_escap ...

  7. PHP中的安全函数

    安全是编程非常重要的一个方面.在任何一种编程语言中,都提供了许多的函数或者模块来确保程序的安全性.在现代网站应用中,经常要获取来自世界各地用户的输入,但是,我们都知道“永远不能相信那些用户输入的数据” ...

  8. PHP:第五章——字符串过滤函数

    <?php header("Content-Type:text/html;charset=utf-8"); //字符串过滤函数: //1.n12br 在所有新行之前插入Htm ...

  9. MySQL手工注入学习-1

    MySQL手工注入学习 SQLi-labs 手工注入学习 以下是通过SLQi-labs平台的部分简单例题的手工注入过程 Less-1:union联合查询注入 页面提示:Please input the ...

随机推荐

  1. Linux永久修改系统时间和时区方法

    修改时区: 1> 找到相应的时区文件 /usr/share/zoneinfo/Asia/Shanghai 用这个文件替换当前的/etc/localtime文件. 或者找你认为是标准时间的服务器, ...

  2. struts2基础——最简单的一个例子

    学习版本:struts-2.3.15.3 一.导入jar包,可以参考 官方项目 blank. 二.添加配置文件:web.xml struts.xml web.xml: <filter> & ...

  3. sprint3(第九天)

    今天四六级考试,没做什么内容,添加了前台的菜单的图片 燃尽图

  4. Sprint2演示分

    团队贡献分: 朱杰:22 蔡京航:21 华子仪:20 甄增文:17

  5. MySQL扩展功能 - 重复插入

    replace into为什么不好?先删除,后插曲,删除时会全表扫描吗? 参考来自MySQL官方网络的文档: http://dev.mysql.com/doc/refman/5.0/en/replac ...

  6. JavaScript执行顺序分析

    之前从JavaScript引擎的解析机制来探索JavaScript的工作原理,下面我们以更形象的示例来说明JavaScript代码在页面中的执行顺序.如果说,JavaScript引擎的工作机制比较深奥 ...

  7. Python入门笔记(18):Python函数(1):基础部分

    一.什么是函数.方法.过程 推荐阅读:http://www.cnblogs.com/snandy/archive/2011/08/29/2153871.html 一般程序设计语言包含两种基本的抽象:过 ...

  8. Protocol Buffers动态消息解析

    http://www.searchtb.com/2012/09/protocol-buffers.html http://www.cnblogs.com/jacksu-tencent/p/344731 ...

  9. C#中的索引器原理

    朋友们,还记得我们在C#语言开发中用到过索引器吗? 记得在获得DataGridView控件的某列值时:dgvlist.SelectedRows[0].Cells[0].Value; 记得在获得List ...

  10. PowerShell与CMD在路径解析上的一点不同

    对于路径含有空格的文件夹,在加入PATH环境变量时,前后往往会加上引号.这种情况,CMD可以正确识别:但是Powershell却不能加上引号,否则无法定位路径. 例如,在PS中,$env:path查看 ...