常用的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. UVA439-水题

    题意:一只棋盘上的马,从一个点到另外一个点要走多少步 解法:广搜 #include<stdio.h> #include<iostream> #include <strst ...

  2. 解决Specifying a namespace in include()withou providing an app_name

    python3 Django 环境下,如果你遇到namespace没有注册以及在根目录下urls.py中的include方法的第二个参数namespace添加之后就出错的问题.请在[app_name] ...

  3. java 调用短信 api 接口发送短信

    参考:   https://blog.csdn.net/u014793522/article/details/59062014 参考 :https://blog.csdn.net/Lu_shilusi ...

  4. centos的安装和下载

    https://blog.csdn.net/risen16/article/details/50737948

  5. json和java bean的相互转换(使用fastjson)

    <dependency> <groupId>com.alibaba</groupId> <artifactId>fastjson</artifac ...

  6. IP Editor IP控件

    HWND hIpEdit; void __fastcall TForm2::FormCreate(TObject *Sender) { hIpEdit = CreateWindow(WC_IPADDR ...

  7. as3 分发事件无法接收

    最简单的.直接用舞台接收. 如: stage.addEventListener("ok",okH);

  8. Window python下载安装

    Window python下载安装 http://www.runoob.com/python/python-install.html https://pan.baidu.com/s/1MoR9nWUY ...

  9. Apache配置本地域名

    打开Apache的安装目录,找到httpd.conf文件,分别去掉下面两行文字前面的#号. LoadModule vhost_alias_module modules/mod_vhost_alias. ...

  10. DB分布式 跨库分页

    DB分布式-两种方式 1. JDBC扩展     sharding-jdbc: 直接封装JDBC,代码迁移成本低,适用于任何连接池及ORM框架,JAR包提供服务,未使用中间层,不用额外部署,DBA无需 ...