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. [Architect] Abp 框架原理解析(4) Validation

    本节目录 介绍 DataAnnotations ICustomValidate IShouldNormalize 实现Abp Validation 介绍 Abp中在Application层集成了val ...

  2. LeetCode - 38. Count and Say

    38. Count and Say Problem's Link ------------------------------------------------------------------- ...

  3. Winform开发框架之插件化应用框架实现

    支持插件化应用的开发框架能给程序带来无穷的生命力,也是目前很多系统.程序追求的重要方向之一,插件化的模块,在遵循一定的接口标准的基础上,可以实现快速集成,也就是所谓的热插拔操作,可以无限对已经开发好系 ...

  4. 2016年5月11日摘自知乎的一些Redis大概了解

    1. 知乎日报的基础数据和统计信息是用 Redis 存储的,这使得请求的平均响应时间能在 10ms 以下.其他数据仍然需要存放在另外的地方,其实完全用 Redis 也是可行的,主要的考量是内存占用.就 ...

  5. 分享一个C#的分页类

    废话不说只有代码: using System.Linq; using System.Collections.Generic; namespace CommonLibrary { public clas ...

  6. 004_URL 路由 - 定制路由系统 & 使用区域

    定制路由系统 路由系统是灵活可配置的,当然还可以通过下面这两种方式定制路由系统,来满足其他需求. 1.  通过创建自定义的RouteBase实现: 2.  通过创建自定义路由处理程序实现. 创建自定义 ...

  7. 无法打开Android SDK Manager的解决办法

    不知道从什么时候开始,打开Android的SDK Manager.exe时,命令行窗口一闪就自动关掉了. 想更新一些Android的东西都更新不了. 查了一下,解决办法是: 环境变量的系统变量Path ...

  8. HDU 1069---背包---Monkey and Banana

    HDU 1069 Description A group of researchers are designing an experiment to test the IQ of a monkey. ...

  9. Hibernate关联映射及高级查询

    一.Hibernate中的关联关系 1.1.单向一对多关联关系 按照以下步骤配置hibernate中持久化类的一对多对象关联: (1).持久化类添加关联类的相关属性及getter/setter方法. ...

  10. hadoop2.2.0伪分布式搭建2--安装JDK

    2.1上传FileZilla 上传 https://filezilla-project.org/ 2.2解压jdk #创建文件夹 mkdir /usr/java #解压 tar -zxvf jdk-7 ...