html转义字符对照表

常用的html转义字符

字符描述实体名称实体编号
" quotation mark(双引号“半角”) " "
' apostrophe (单引号‘半角’) ' '
& ampersand(&连接号) & &
< less-than(小于号) &lt; &#60;
> greater-than(大于号) &gt; &#62;
  non-breaking space(空格) &nbsp; &#160;
« angle quotation mark (left) &laquo; &#171;
» angle quotation mark (right) &raquo; &#187;
× multiplication(乘号) &times; &#215;

 

字符描述实体名称实体编号
¡ inverted exclamation mark &iexcl; &#161;
¢ cent &cent; &#162;
£ pound &pound; &#163;
¤ currency &curren; &#164;
¥ yen &yen; &#165;
¦ broken vertical bar &brvbar; &#166;
§ section &sect; &#167;
¨ spacing diaeresis &uml; &#168;
© copyright &copy; &#169;
ª feminine ordinal indicator &ordf; &#170;
« angle quotation mark (left) &laquo; &#171;
¬ negation &not; &#172;
  soft hyphen &shy; &#173;
® registered trademark &reg; &#174;
¯ spacing macron &macr; &#175;
° degree &deg; &#176;
± plus-or-minus  &plusmn; &#177;
² superscript 2 &sup2; &#178;
³ superscript 3 &sup3; &#179;
´ spacing acute &acute; &#180;
µ micro &micro; &#181;
paragraph &para; &#182;
· middle dot &middot; &#183;
¸ spacing cedilla &cedil; &#184;
¹ superscript 1 &sup1; &#185;
º masculine ordinal indicator &ordm; &#186;
» angle quotation mark (right) &raquo; &#187;
¼ fraction 1/4 &frac14; &#188;
½ fraction 1/2 &frac12; &#189;
¾ fraction 3/4 &frac34; &#190;
¿ inverted question mark &iquest; &#191;
× multiplication &times; &#215;
÷ division &divide; &#247;

 

HTML 支持的数学符号

字符描述转义字符实体编号
for all &forall; &#8704;
part &part; &#8706;
exists &exists; &#8707;
empty &empty; &#8709;
nabla &nabla; &#8711;
isin &isin; &#8712;
notin &notin; &#8713;
ni &ni; &#8715;
prod &prod; &#8719;
sum &sum; &#8721;
minus &minus; &#8722;
lowast &lowast; &#8727;
square root &radic; &#8730;
proportional to &prop; &#8733;
infinity &infin; &#8734;
angle &ang; &#8736;
and &and; &#8743;
or &or; &#8744;
cap &cap; &#8745;
cup &cup; &#8746;
integral &int; &#8747;
therefore &there4; &#8756;
simular to &sim; &#8764;
approximately equal &cong; &#8773;
almost equal &asymp; &#8776;
not equal &ne; &#8800;
equivalent &equiv; &#8801;
less or equal &le; &#8804;
greater or equal &ge; &#8805;
subset of &sub; &#8834;
superset of &sup; &#8835;
not subset of &nsub; &#8836;
subset or equal &sube; &#8838;
superset or equal &supe; &#8839;
circled plus &oplus; &#8853;
cirled times &otimes; &#8855;
perpendicular &perp; &#8869;
dot operator &sdot; &#8901;

HTML 支持的其他实体

字符描述实体名称实体编号
Πcapital ligature OE &OElig; &#338;
œ small ligature oe &oelig; &#339;
Š capital S with caron &Scaron; &#352;
š small S with caron &scaron; &#353;
Ÿ capital Y with diaeres &Yuml; &#376;
ƒ f with hook &fnof; &#402;
ˆ modifier letter circumflex accent &circ; &#710;
˜ small tilde &tilde; &#732;
en dash &ndash; &#8211;
em dash &mdash; &#8212;
left single quotation mark &lsquo; &#8216;
right single quotation mark &rsquo; &#8217;
single low-9 quotation mark &sbquo; &#8218;
left double quotation mark &ldquo; &#8220;
right double quotation mark &rdquo; &#8221;
double low-9 quotation mark &bdquo; &#8222;
dagger &dagger; &#8224;
double dagger &Dagger; &#8225;
bullet &bull; &#8226;
horizontal ellipsis &hellip; &#8230;
per mille  &permil; &#8240;
minutes &prime; &#8242;
seconds &Prime; &#8243;
single left angle quotation &lsaquo; &#8249;
single right angle quotation &rsaquo; &#8250;
overline &oline; &#8254;
euro &euro; &#8364;
trademark &trade; &#8482;
left arrow &larr; &#8592;
up arrow &uarr; &#8593;
right arrow &rarr; &#8594;
down arrow &darr; &#8595;
left right arrow &harr; &#8596;
carriage return arrow &crarr; &#8629;
left ceiling &lceil; &#8968;
right ceiling &rceil; &#8969;
left floor &lfloor; &#8970;
right floor &rfloor; &#8971;
lozenge &loz; &#9674;
spade &spades; &#9824;
club &clubs; &#9827;
heart &hearts; &#9829;
diamond &diams; &#9830;
posted @ 2017-05-25 15:15  superGG1990  阅读(746)  评论(0编辑  收藏  举报