首页 C# 正文
  • 本文约2626字,阅读需13分钟
  • 2496
  • 0
举报该广告
[转]&nbsp|&quot|&amp|&lt|&gt等html字符转义

[转]&nbsp|&quot|&amp|&lt|&gt等html字符转义

摘要

常用表:



No.

文字表記

10進表

16進表

文字

 

Comment

001

"

"

"

""...

常用表:


No. 文字表記 10進表 16進表 文字   Comment
001 " " " """   quotation mark = APL quote
002 & & & "&"   ampersand
003 &lt; &#60; &#x3C; "<"   less-than sign
004 &gt; &#62; &#x3E; ">"   greater-than sign
005 &nbsp; &#160; &#xA0; " "   no-break space = non-breaking space

iSO 8859-1 characters

char glyph HTML tag
  &nbsp;
? &iexcl;
? &cent;
? &pound;
¤ &curren;
? &yen;
? &brvbar;
§ &sect;
¨ &uml;
© &copy;
? &ordf;
? &laquo;
? &not;
  &shy;
® &reg;
? &macr;
° &deg;
± &plusmn;
? &sup2;
? &sup3;
? &acute;
? &micro;
? &para;
· &middot;
? &cedil;
? &sup1;
? &ordm;
? &raquo;
? &frac14;
? &frac12;
? &frac34;
? &iquest;
? &Agrave;
? &Aacute;
? &Acirc;
? &Atilde;
? &Auml;
? &Aring;
? &AElig;
? &Ccedil;
? &Egrave;
? &Eacute;
? &Ecirc;
? &Euml;
? &Igrave;
? &Iacute;
? &Icirc;
? &Iuml;
? &ETH;
? &Ntilde;
? &Ograve;
? &Oacute;
? &Ocirc;
? &Otilde;
? &Ouml;
× &times;
? &Oslash;
? &Ugrave;
? &Uacute;
? &Ucirc;
? &Uuml;
? &Yacute;
? &THORN;
? &szlig;
à &agrave;
á &aacute;
? &acirc;
? &atilde;
? &auml;
? &aring;
? &aelig;
? &ccedil;
è &egrave;
é &eacute;
ê &ecirc;
? &euml;
ì &igrave;
í &iacute;
? &icirc;
? &iuml;
? &eth;
? &ntilde;
ò &ograve;
ó &oacute;
? &ocirc;
? &otilde;
? &ouml;
÷ &divide;
? &oslash;
ù &ugrave;
ú &uacute;
? &ucirc;
ü &uuml;
? &yacute;
? &thorn;
? &yuml;

Math symbols

Latin Extended-B
char glyph HTML tag
? &fnof;

Arrows
char glyph HTML tag
&larr;
&uarr;
&rarr;
&darr;
&harr;
&crarr;
&lArr;
&uArr;
&rArr;
&dArr;
&hArr;

Mathematical Operators
char glyph HTML tag
? &forall;
&part;
&exist;
&empty;
&nabla;
&isin;
&notin;
&ni;
&prod;
&sum;
&minus;
&lowast;
&radic;
&prop;
&infin;
&ang;
&and;
&or;
&cap;
&cup;
&int;
&there4;
&sim;
&cong;
&asymp;
&ne;
&equiv;
&le;
&ge;
&sub;
&sup;
&nsub;
&sube;
&supe;
&oplus;
&otimes;
&perp;
&sdot;

General Punctuation
char glyph HTML tag
&bull;
&hellip;
&prime;
&Prime;
&oline;
&frasl;

Miscellaneous Technical
char glyph HTML tag
&lceil;
&rceil;
&lfloor;
&rfloor;
&lang;
&rang;

Geometric Shapes
char glyph HTML tag
&loz;

Miscellaneous Symbols
char glyph HTML tag
&spades;
&clubs;
&hearts;
&diams;


Letterlike Symbols
char glyph HTML tag
&weierp;
&image;
&real;
&trade;
&alefsym;

Greek
char glyph HTML tag
Α &Alpha;
Β &Beta;
Γ &Gamma;
Δ &Delta;
Ε &Epsilon;
Ζ &Zeta;
Η &Eta;
Θ &Theta;
Ι &Iota;
Κ &Kappa;
Λ &Lambda;
Μ &Mu;
Ν &Nu;
Ξ &Xi;
Ο &Omicron;
Π &Pi;
Ρ &Rho;
Σ &Sigma;
Τ &Tau;
Υ &Upsilon;
Φ &Phi;
Χ &Chi;
Ψ &Psi;
Ω &Omega;
α &alpha;
β &beta;
γ &gamma;
δ &delta;
ε &epsilon;
ζ &zeta;
η &eta;
θ &theta;
ι &iota;
κ &kappa;
λ &lambda;
μ &mu;
ν &nu;
ξ &xi;
ο &omicron;
π &pi;
ρ &rho;
? &sigmaf;
σ &sigma;
τ &tau;
υ &upsilon;
φ &phi;
χ &chi;
ψ &psi;
ω &omega;
? &thetasym;
? &upsih;
? &piv;

📱 扫码关注公众号

公众号二维码

扫描二维码关注我们,获取更多精彩内容
实时更新 · 干货满满

收藏

扫描二维码,在手机上阅读
评论
更换验证码
友情链接