常用的html转义字符

字符 描述 实体名称 实体编号
" quotation mark(双引号“半角”) " "
' apostrophe (单引号‘半角’) ' '
& ampersand(&连接号) & &
< less-than(小于号) &lt; <
> greater-than(大于号) &gt; >
  non-breaking space(空格) &nbsp;  
« angle quotation mark (left) &laquo; «
» angle quotation mark (right) &raquo; »
× multiplication(乘号) &times; ×
字符 描述 实体名称 实体编号
¡ inverted exclamation mark &iexcl; ¡
¢ cent &cent; ¢
£ pound &pound; £
¤ currency &curren; ¤
¥ yen &yen; ¥
¦ broken vertical bar &brvbar; ¦
§ section &sect; §
¨ spacing diaeresis &uml; ¨
© copyright &copy; ©
ª feminine ordinal indicator &ordf; ª
« angle quotation mark (left) &laquo; «
¬ negation &not; ¬
  soft hyphen &shy; ­
® registered trademark &reg; ®
¯ spacing macron &macr; ¯
° degree &deg; °
± plus-or-minus  &plusmn; ±
² superscript 2 &sup2; ²
³ superscript 3 &sup3; ³
´ spacing acute &acute; ´
µ micro &micro; µ
paragraph &para;
· middle dot &middot; ·
¸ spacing cedilla &cedil; ¸
¹ superscript 1 &sup1; ¹
º masculine ordinal indicator &ordm; º
» angle quotation mark (right) &raquo; »
¼ fraction 1/4 &frac14; ¼
½ fraction 1/2 &frac12; ½
¾ fraction 3/4 &frac34; ¾
¿ inverted question mark &iquest; ¿
× multiplication &times; ×
÷ division &divide; ÷

HTML 支持的数学符号

字符 描述 转义字符 实体编号
for all &forall;
part &part;
exists &exists;
empty &empty;
nabla &nabla;
isin &isin;
notin &notin;
ni &ni;
prod &prod;
sum &sum;
minus &minus;
lowast &lowast;
square root &radic;
proportional to &prop;
infinity &infin;
angle &ang;
and &and;
or &or;
cap &cap;
cup &cup;
integral &int;
therefore &there4;
simular to &sim;
approximately equal &cong;
almost equal &asymp;
not equal &ne;
equivalent &equiv;
less or equal &le;
greater or equal &ge;
subset of &sub;
superset of &sup;
not subset of &nsub;
subset or equal &sube;
superset or equal &supe;
circled plus &oplus;
cirled times &otimes;
perpendicular &perp;
dot operator &sdot;

HTML 支持的其他实体

字符 描述 实体名称 实体编号
Œ capital ligature OE &OElig; Œ
œ small ligature oe &oelig; œ
Š capital S with caron &Scaron; Š
š small S with caron &scaron; š
Ÿ capital Y with diaeres &Yuml; Ÿ
ƒ f with hook &fnof; ƒ
ˆ modifier letter circumflex accent &circ; ˆ
˜ small tilde &tilde; ˜
en dash &ndash;
em dash &mdash;
left single quotation mark &lsquo;
right single quotation mark &rsquo;
single low-9 quotation mark &sbquo;
left double quotation mark &ldquo;
right double quotation mark &rdquo;
double low-9 quotation mark &bdquo;
dagger &dagger;
double dagger &Dagger;
bullet &bull;
horizontal ellipsis &hellip;
per mille  &permil;
minutes &prime;
seconds &Prime;
single left angle quotation &lsaquo;
single right angle quotation &rsaquo;
overline &oline;
euro &euro;
trademark &trade;
left arrow &larr;
up arrow &uarr;
right arrow &rarr;
down arrow &darr;
left right arrow &harr;
carriage return arrow &crarr;
left ceiling &lceil;
right ceiling &rceil;
left floor &lfloor;
right floor &rfloor;
lozenge &loz;
spade &spades;
club &clubs;
heart &hearts;
diamond &diams;

html转义字符对照表的更多相关文章

  1. HTML 转义字符对照表

    http://tool.oschina.net/commons 字符 十进制 转义字符 " " " & & & < < < &g ...

  2. HTML/XML转义字符对照表

    HTML/XML转义字符对照表 HTML/XML转义字符对照表包含符号.数学符号.希腊字母 .重要的国际标志.ISO 8859-1 (Latin-1)字符集.特殊符号等. 1.特殊字符转义表 字符 十 ...

  3. HTML特殊转义字符对照表

    字符 十进制 转义字符 字符 十进制 转义字符 字符 十进制 转义字符 ? ¡ ¡ Á Á Á á á á ¢ ¢ ¢ Â Â ˆ â â £ £ £ Ã Ã Ã ã ã ã ¤ ¤ ¤ Ä Ä &a ...

  4. java转义字符

    JAVA中转义字符: 1.八进制转义序列:\ + 1到3位5数字:范围'\000'~'\377'       \0:空字符 2.Unicode转义字符:\u + 四个十六进制数字:0~65535    ...

  5. (1)HTML的组成(什么是标签、指令、转义字符、数据、标签字符表)

    html的组成:标签+指令+转义字符+数据 1.标签 <>内的,以字母开头,可以结合合法字符(- 或者数字),能被浏览器解析的符号 <!DOCTYPE html> #这个是系统 ...

  6. JAVA中转义字符

    JAVA中转义字符 2010年08月11日 星期三 上午 12:22 JAVA中转义字符: 1.八进制转义序列:\ + 1到3位5数字:范围'\000'~'\377'       \0:空字符 2.U ...

  7. Java常用的转义字符

    以下为常用的转义字符对照表: 字母前面加上捺斜线"\"来表示常见的那些不能显示的ASCII字符.称为转义字符.如\0,\t,\n等,就称为转义字符. 转义字符 意义 ASCII码值 ...

  8. 渗透测试学习 四、 HTML基础

    HTML是一种解释型语言,解释给浏览器解析执行显示给用户浏览,是一种静态,无交互的 超文本标记语言(Hyper Text Markup Language),标准通用标记语言下的一个应用.HTML 不是 ...

  9. 特殊字符\u2028导致的Javascript脚本异常

    这原本是个小错误,但排查花了不少时间,因此写下来和大家分享一下. 起因 通过Ajax动态从后台读取文章内容,并显示在页面上,加载到某篇文章的时候,报javascript语法错误,无法显示文章内容. A ...

随机推荐

  1. Ubuntu 提权漏洞(CVE-2019-7304)复现

    漏洞描述: Ubuntu 版本: Ubuntu 18.10 Ubuntu 18.04 LTS Ubuntu 16.04 LTS Ubuntu 14.04 LTS 2.28 < snapd < ...

  2. JS修改属性,六种数据类型

    JS修改属性 一般修改单个属性是通过JS修改的,比较方便.改多个属性通过css样式改更方便. 1.特殊:通过JS修改包含"-"符号的属性,例如margin-top // 特殊 修改 ...

  3. nslookup域名解析

    域名解析 nslookup docker.xxx.com.cn

  4. shiro用authc配置后登录成功后不能跳转到index页面

    转自:https://ydoing.iteye.com/blog/2248188

  5. 使用jquery.more.js来实现点击底部更多后, 底部加载出新的数据

    <div class="bus-nav-bar ft12"> <div class="navt bor-r-c pos-rel {if $int == ...

  6. java常用的Utils写法

    Utils: 获取年龄 属性文件获取 BeanCopy    分页 MapUtils 获取年龄: /** * 根据传入的日期计算年龄,因时间戳是从1970年开始计算的 * @param date * ...

  7. UI5-文档-4.34-Custom Controls

    在这一步中,我们将使用自定义控件扩展SAPUI5的功能.我们希望对详细页面上显示的产品进行评级,因此我们使用SAPUI5扩展机制创建了多个标准控件的组合,并添加了一些粘合代码以使它们能够很好地一起工作 ...

  8. Why ExerciseAlone May Not Be the Key to Weight Loss

    加强运动也许并不能减肥Why ExerciseAlone May Not Be the Key to Weight LossIf you give a mouse a running wheel, i ...

  9. 在Eclipes中查看源代码和大纲快速定位

    1 在Eclipes中查看源代码,快捷键使用clrl+光标,选择你要查看的方法和属性查看源代码.例如你想看StringBuilder这个类源代码 StringBuilder allow = new S ...

  10. Hibernate的一个问题object references an unsaved transient instance - save the transi5

    1 我做了一对多和多对一的双向关联关系,在User这一方@ManyToOne已经设置了级联Cascade,这样在测试程序中保存User时,Group也应该自动保存,为什么会抛出以下的异常: (我是按着 ...