常用的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. Axon框架使用指南

    参考:https://blog.csdn.net/wangli13860426642/article/details/80018222 详细参考:   https://blog.csdn.net/wa ...

  2. delphi const的用法

    unit RadKeygen; interface uses Classes,SysUtils,Windows; function fun1():string; implementation cons ...

  3. margin-top和padding-top

    padding- top 在原有的基础上进一步的扩张 margin - top 在原有的位置上发生上下的平移 <!DOCTYPE html> <html lang="en& ...

  4. GIS on CentOS 7 之 PostgreSQL & PostGIS

    PostgreSQL & PostGIS 安装postgresql 配置好yum源之后,使用yum info postgresql可发现 postgresql的版本为9.2.23,若想安装最新 ...

  5. Week4-作业1:阅读笔记与思考

    我在这三天时间里阅读了<构建之法>的第四章和第十七章,产生了一些疑问和深层次的思考. 第四章 问题1: 书中第68页提到“注释(包括所有源代码)应该只用ASCII字符,不要用中文或其他特殊 ...

  6. Bioconductor的历史

    ---------------------------------------------------------------Bioconductor------------------------- ...

  7. Enterprise Library 企业库

    微软企业库,提供了一套日志,缓存等功能的库.可以通过NuGet安装.

  8. Docker Dockerfile 定制镜像(转)

    转自: https://yeasy.gitbooks.io/docker_practice/ 及 https://blog.csdn.net/wo18237095579/article/details ...

  9. Web标准:九、CSS表单设计

    Web标准:九.CSS表单设计 知识点: 1.改变文本框和文本域样式 2.用图片美化按钮 3.改变下拉列表样式 4.用label标签提升用户体验   1)改变文本框和文本域样式 文本框标签:<i ...

  10. Android 最火开发框架 xUtils

    xUtils简介 xUtils3 api变化较多, 已转至 https://github.com/wyouflf/xUtils3 xUtils 2.x对Android 6.0兼容不是很好, 请尽快升级 ...