HTML Entity Sets - All

http://www.htmlentities.com/html/entities/ 

The view below displays the characters used in the official W3C HTML and XHTML specifications in readable form,  including previews of the actual characters. Mind you not all user agents (browsers) support all characters. Microsoft Internet Explorer™ for example often displays “squares” for non-supported entities. There's even something really weird with the ' entity in IE, I'm still investigating that.

entity set:                             filter:
&···;   &#···;   Description      
    no-break space = non-breaking spaceU+00A0ISOnum
¡
¡
¡
¡
inverted exclamation markU+00A1ISOnum
¢
¢
¢
¢
cent signU+00A2ISOnum
£
£
£
£
pound signU+00A3ISOnum
¤
¤
¤
¤
currency signU+00A4ISOnum
¥
¥
¥
¥
yen sign = yuan signU+00A5ISOnum
¦
¦
¦
¦
broken bar = broken vertical barU+00A6ISOnum
§
§
§
§
section signU+00A7ISOnum
¨
¨
¨
¨
diaeresis = spacing diaeresisU+00A8ISOdia
©
©
©
©
copyright signU+00A9ISOnum
ª
ª
ª
ª
feminine ordinal indicatorU+00AAISOnum
«
«
«
«
left-pointing double angle quotation mark = left pointing guillemetU+00ABISOnum
¬
¬
¬
¬
not sign = angled dashU+00ACISOnum
­
­
­
­
soft hyphen = discretionary hyphenU+00ADISOnum
®
®
®
®
registered sign = registered trade mark signU+00AEISOnum
¯
¯
¯
¯
macron = spacing macron = overline = APL overbarU+00AFISOdia
°
°
°
°
degree signU+00B0ISOnum
±
±
±
±
plus-minus sign = plus-or-minus signU+00B1ISOnum
²
²
²
²
superscript two = superscript digit two = squaredU+00B2ISOnum
³
³
³
³
superscript three = superscript digit three = cubedU+00B3ISOnum
´
´
´
´
acute accent = spacing acuteU+00B4ISOdia
µ
µ
µ
µ
micro signU+00B5ISOnum
¶
¶
pilcrow sign = paragraph signU+00B6ISOnum
·
·
·
·
middle dot = Georgian comma = Greek middle dotU+00B7ISOnum
¸
¸
¸
¸
cedilla = spacing cedillaU+00B8ISOdia
¹
¹
¹
¹
superscript one = superscript digit oneU+00B9ISOnum
º
º
º
º
masculine ordinal indicatorU+00BAISOnum
»
»
»
»
right-pointing double angle quotation mark = right pointing guillemetU+00BBISOnum
¼
¼
¼
¼
vulgar fraction one quarter = fraction one quarterU+00BCISOnum
½
½
½
½
vulgar fraction one half = fraction one halfU+00BDISOnum
¾
¾
¾
¾
vulgar fraction three quarters = fraction three quartersU+00BEISOnum
¿
¿
¿
¿
inverted question mark = turned question markU+00BFISOnum
À
À
À
À
latin capital letter A with grave = latin capital letter A graveU+00C0ISOlat1
Á
Á
Á
Á
latin capital letter A with acuteU+00C1ISOlat1
Â
Â
Â
Â
latin capital letter A with circumflexU+00C2ISOlat1
Ã
Ã
Ã
Ã
latin capital letter A with tildeU+00C3ISOlat1
Ä
Ä
Ä
Ä
latin capital letter A with diaeresisU+00C4ISOlat1
Å
Å
Å
Å
latin capital letter A with ring above = latin capital letter A ringU+00C5ISOlat1
Æ
Æ
Æ
Æ
latin capital letter AE = latin capital ligature AEU+00C6ISOlat1
Ç
Ç
Ç
Ç
latin capital letter C with cedillaU+00C7ISOlat1
È
È
È
È
latin capital letter E with graveU+00C8ISOlat1
É
É
É
É
latin capital letter E with acuteU+00C9ISOlat1
Ê
Ê
Ê
Ê
latin capital letter E with circumflexU+00CAISOlat1
Ë
Ë
Ë
Ë
latin capital letter E with diaeresisU+00CBISOlat1
Ì
Ì
Ì
Ì
latin capital letter I with graveU+00CCISOlat1
Í
Í
Í
Í
latin capital letter I with acuteU+00CDISOlat1
Î
Î
Î
Î
latin capital letter I with circumflexU+00CEISOlat1
Ï
Ï
Ï
Ï
latin capital letter I with diaeresisU+00CFISOlat1
Ð
Ð
Ð
Ð
latin capital letter ETHU+00D0ISOlat1
Ñ
Ñ
Ñ
Ñ
latin capital letter N with tildeU+00D1ISOlat1
Ò
Ò
Ò
Ò
latin capital letter O with graveU+00D2ISOlat1
Ó
Ó
Ó
Ó
latin capital letter O with acuteU+00D3ISOlat1
Ô
Ô
Ô
Ô
latin capital letter O with circumflexU+00D4ISOlat1
Õ
Õ
Õ
Õ
latin capital letter O with tildeU+00D5ISOlat1
Ö
Ö
Ö
Ö
latin capital letter O with diaeresisU+00D6ISOlat1
×
×
×
×
multiplication signU+00D7ISOnum
Ø
Ø
Ø
Ø
latin capital letter O with stroke = latin capital letter O slashU+00D8ISOlat1
Ù
Ù
Ù
Ù
latin capital letter U with graveU+00D9ISOlat1
Ú
Ú
Ú
Ú
latin capital letter U with acuteU+00DAISOlat1
Û
Û
Û
Û
latin capital letter U with circumflexU+00DBISOlat1
Ü
Ü
Ü
Ü
latin capital letter U with diaeresisU+00DCISOlat1
Ý
Ý
Ý
Ý
latin capital letter Y with acuteU+00DDISOlat1
Þ
Þ
Þ
Þ
latin capital letter THORNU+00DEISOlat1
ß
ß
ß
ß
latin small letter sharp s = ess-zedU+00DFISOlat1
à
à
à
à
latin small letter a with grave = latin small letter a graveU+00E0ISOlat1
á
á
á
á
latin small letter a with acuteU+00E1ISOlat1
â
â
â
â
latin small letter a with circumflexU+00E2ISOlat1
ã
ã
ã
ã
latin small letter a with tildeU+00E3ISOlat1
ä
ä
ä
ä
latin small letter a with diaeresisU+00E4ISOlat1
å
å
å
å
latin small letter a with ring above = latin small letter a ringU+00E5ISOlat1
æ
æ
æ
æ
latin small letter ae = latin small ligature aeU+00E6ISOlat1
ç
ç
ç
ç
latin small letter c with cedillaU+00E7ISOlat1
è
è
è
è
latin small letter e with graveU+00E8ISOlat1
é
é
é
é
latin small letter e with acuteU+00E9ISOlat1
ê
ê
ê
ê
latin small letter e with circumflexU+00EAISOlat1
ë
ë
ë
ë
latin small letter e with diaeresisU+00EBISOlat1
ì
ì
ì
ì
latin small letter i with graveU+00ECISOlat1
í
í
í
í
latin small letter i with acuteU+00EDISOlat1
î
î
î
î
latin small letter i with circumflexU+00EEISOlat1
ï
ï
ï
ï
latin small letter i with diaeresisU+00EFISOlat1
ð
ð
ð
ð
latin small letter ethU+00F0ISOlat1
ñ
ñ
ñ
ñ
latin small letter n with tildeU+00F1ISOlat1
ò
ò
ò
ò
latin small letter o with graveU+00F2ISOlat1
ó
ó
ó
ó
latin small letter o with acuteU+00F3ISOlat1
ô
ô
ô
ô
latin small letter o with circumflexU+00F4ISOlat1
õ
õ
õ
õ
latin small letter o with tildeU+00F5ISOlat1
ö
ö
ö
ö
latin small letter o with diaeresisU+00F6ISOlat1
÷
÷
÷
÷
division signU+00F7ISOnum
ø
ø
ø
ø
latin small letter o with stroke, = latin small letter o slashU+00F8ISOlat1
ù
ù
ù
ù
latin small letter u with graveU+00F9ISOlat1
ú
ú
ú
ú
latin small letter u with acuteU+00FAISOlat1
û
û
û
û
latin small letter u with circumflexU+00FBISOlat1
ü
ü
ü
ü
latin small letter u with diaeresisU+00FCISOlat1
ý
ý
ý
ý
latin small letter y with acuteU+00FDISOlat1
þ
þ
þ
þ
latin small letter thornU+00FEISOlat1
ÿ
ÿ
ÿ
ÿ
latin small letter y with diaeresisU+00FFISOlat1
"
"
"
"
quotation markU+0022ISOnum
&
&
&
&
ampersandU+0026ISOnum
<
<
&#60;
<
less-than signU+003CISOnum
&gt;
>
&#62;
>
greater-than signU+003EISOnum
&apos;
'
&#39;
'
apostrophe = APL quoteU+0027ISOnum
&OElig;
Œ
&#338;
Œ
latin capital ligature OEU+0152ISOlat2
&oelig;
œ
&#339;
œ
latin small ligature oeU+0153ISOlat2
&Scaron;
Š
&#352;
Š
latin capital letter S with caronU+0160ISOlat2
&scaron;
š
&#353;
š
latin small letter s with caronU+0161ISOlat2
&Yuml;
Ÿ
&#376;
Ÿ
latin capital letter Y with diaeresisU+0178ISOlat2
&circ;
ˆ
&#710;
ˆ
modifier letter circumflex accentU+02C6ISOpub
&tilde;
˜
&#732;
˜
small tildeU+02DCISOdia
&ensp;
&#8194;
en spaceU+2002ISOpub
&emsp;
&#8195;
em spaceU+2003ISOpub
&thinsp;
&#8201;
thin spaceU+2009ISOpub
&zwnj;
&#8204;
zero width non-joinerU+200CNEW RFC 2070
&zwj;
&#8205;
zero width joinerU+200DNEW RFC 2070
&lrm;
&#8206;
left-to-right markU+200ENEW RFC 2070
&rlm;
&#8207;
right-to-left markU+200FNEW RFC 2070
&ndash;
&#8211;
en dashU+2013ISOpub
&mdash;
&#8212;
em dashU+2014ISOpub
&lsquo;
&#8216;
left single quotation markU+2018ISOnum
&rsquo;
&#8217;
right single quotation markU+2019ISOnum
&sbquo;
&#8218;
single low-9 quotation markU+201ANEW
&ldquo;
&#8220;
left double quotation markU+201CISOnum
&rdquo;
&#8221;
right double quotation markU+201DISOnum
&bdquo;
&#8222;
double low-9 quotation markU+201ENEW
&dagger;
&#8224;
daggerU+2020ISOpub
&Dagger;
&#8225;
double daggerU+2021ISOpub
&permil;
&#8240;
per mille signU+2030ISOtech
&lsaquo;
&#8249;
single left-pointing angle quotation markU+2039ISO proposed
&rsaquo;
&#8250;
single right-pointing angle quotation markU+203AISO proposed
&euro;
&#8364;
euro signU+20ACNEW
&fnof;
ƒ
&#402;
ƒ
latin small letter f with hook = function = florinU+0192ISOtech
&Alpha;
Α
&#913;
Α
greek capital letter alphaU+0391 
&Beta;
Β
&#914;
Β
greek capital letter betaU+0392 
&Gamma;
Γ
&#915;
Γ
greek capital letter gammaU+0393ISOgrk3
&Delta;
Δ
&#916;
Δ
greek capital letter deltaU+0394ISOgrk3
&Epsilon;
Ε
&#917;
Ε
greek capital letter epsilonU+0395 
&Zeta;
Ζ
&#918;
Ζ
greek capital letter zetaU+0396 
&Eta;
Η
&#919;
Η
greek capital letter etaU+0397 
&Theta;
Θ
&#920;
Θ
greek capital letter thetaU+0398ISOgrk3
&Iota;
Ι
&#921;
Ι
greek capital letter iotaU+0399 
&Kappa;
Κ
&#922;
Κ
greek capital letter kappaU+039A 
&Lambda;
Λ
&#923;
Λ
greek capital letter lamdaU+039BISOgrk3
&Mu;
Μ
&#924;
Μ
greek capital letter muU+039C 
&Nu;
Ν
&#925;
Ν
greek capital letter nuU+039D 
&Xi;
Ξ
&#926;
Ξ
greek capital letter xiU+039EISOgrk3
&Omicron;
Ο
&#927;
Ο
greek capital letter omicronU+039F 
&Pi;
Π
&#928;
Π
greek capital letter piU+03A0ISOgrk3
&Rho;
Ρ
&#929;
Ρ
greek capital letter rhoU+03A1 
&Sigma;
Σ
&#931;
Σ
greek capital letter sigmaU+03A3ISOgrk3
&Tau;
Τ
&#932;
Τ
greek capital letter tauU+03A4 
&Upsilon;
Υ
&#933;
Υ
greek capital letter upsilonU+03A5ISOgrk3
&Phi;
Φ
&#934;
Φ
greek capital letter phiU+03A6ISOgrk3
&Chi;
Χ
&#935;
Χ
greek capital letter chiU+03A7 
&Psi;
Ψ
&#936;
Ψ
greek capital letter psiU+03A8ISOgrk3
&Omega;
Ω
&#937;
Ω
greek capital letter omegaU+03A9ISOgrk3
&alpha;
α
&#945;
α
greek small letter alphaU+03B1ISOgrk3
&beta;
β
&#946;
β
greek small letter betaU+03B2ISOgrk3
&gamma;
γ
&#947;
γ
greek small letter gammaU+03B3ISOgrk3
&delta;
δ
&#948;
δ
greek small letter deltaU+03B4ISOgrk3
&epsilon;
ε
&#949;
ε
greek small letter epsilonU+03B5ISOgrk3
&zeta;
ζ
&#950;
ζ
greek small letter zetaU+03B6ISOgrk3
&eta;
η
&#951;
η
greek small letter etaU+03B7ISOgrk3
&theta;
θ
&#952;
θ
greek small letter thetaU+03B8ISOgrk3
&iota;
ι
&#953;
ι
greek small letter iotaU+03B9ISOgrk3
&kappa;
κ
&#954;
κ
greek small letter kappaU+03BAISOgrk3
&lambda;
λ
&#955;
λ
greek small letter lamdaU+03BBISOgrk3
&mu;
μ
&#956;
μ
greek small letter muU+03BCISOgrk3
&nu;
ν
&#957;
ν
greek small letter nuU+03BDISOgrk3
&xi;
ξ
&#958;
ξ
greek small letter xiU+03BEISOgrk3
&omicron;
ο
&#959;
ο
greek small letter omicronU+03BFNEW
&pi;
π
&#960;
π
greek small letter piU+03C0ISOgrk3
&rho;
ρ
&#961;
ρ
greek small letter rhoU+03C1ISOgrk3
&sigmaf;
ς
&#962;
ς
greek small letter final sigmaU+03C2ISOgrk3
&sigma;
σ
&#963;
σ
greek small letter sigmaU+03C3ISOgrk3
&tau;
τ
&#964;
τ
greek small letter tauU+03C4ISOgrk3
&upsilon;
υ
&#965;
υ
greek small letter upsilonU+03C5ISOgrk3
&phi;
φ
&#966;
φ
greek small letter phiU+03C6ISOgrk3
&chi;
χ
&#967;
χ
greek small letter chiU+03C7ISOgrk3
&psi;
ψ
&#968;
ψ
greek small letter psiU+03C8ISOgrk3
&omega;
ω
&#969;
ω
greek small letter omegaU+03C9ISOgrk3
&thetasym;
ϑ
&#977;
ϑ
greek theta symbolU+03D1NEW
&upsih;
ϒ
&#978;
ϒ
greek upsilon with hook symbolU+03D2NEW
&piv;
ϖ
&#982;
ϖ
greek pi symbolU+03D6ISOgrk3
&bull;
&#8226;
bullet = black small circleU+2022ISOpub 
&hellip;
&#8230;
horizontal ellipsis = three dot leaderU+2026ISOpub 
&prime;
&#8242;
prime = minutes = feetU+2032ISOtech
&Prime;
&#8243;
double prime = seconds = inchesU+2033ISOtech
&oline;
&#8254;
overline = spacing overscoreU+203ENEW
&frasl;
&#8260;
fraction slashU+2044NEW
&weierp;
&#8472;
script capital P = power set  = Weierstrass pU+2118ISOamso
&image;
&#8465;
black-letter capital I = imaginary partU+2111ISOamso
&real;
&#8476;
black-letter capital R = real part symbolU+211CISOamso
&trade;
&#8482;
trade mark signU+2122ISOnum
&alefsym;
&#8501;
alef symbol = first transfinite cardinalU+2135NEW
&larr;
&#8592;
leftwards arrowU+2190ISOnum
&uarr;
&#8593;
upwards arrowU+2191ISOnum
&rarr;
&#8594;
rightwards arrowU+2192ISOnum
&darr;
&#8595;
downwards arrowU+2193ISOnum
&harr;
&#8596;
left right arrowU+2194ISOamsa
&crarr;
&#8629;
downwards arrow with corner leftwards  = carriage returnU+21B5NEW
&lArr;
&#8656;
leftwards double arrowU+21D0ISOtech
&uArr;
&#8657;
upwards double arrowU+21D1ISOamsa
&rArr;
&#8658;
rightwards double arrowU+21D2ISOtech
&dArr;
&#8659;
downwards double arrowU+21D3ISOamsa
&hArr;
&#8660;
left right double arrowU+21D4ISOamsa
&forall;
&#8704;
for allU+2200ISOtech
&part;
&#8706;
partial differentialU+2202ISOtech 
&exist;
&#8707;
there existsU+2203ISOtech
&empty;
&#8709;
empty set = null setU+2205ISOamso
&nabla;
&#8711;
nabla = backward differenceU+2207ISOtech
&isin;
&#8712;
element ofU+2208ISOtech
&notin;
&#8713;
not an element ofU+2209ISOtech
&ni;
&#8715;
contains as memberU+220BISOtech
&prod;
&#8719;
n-ary product = product signU+220FISOamsb
&sum;
&#8721;
n-ary summationU+2211ISOamsb
&minus;
&#8722;
minus signU+2212ISOtech
&lowast;
&#8727;
asterisk operatorU+2217ISOtech
&radic;
&#8730;
square root = radical signU+221AISOtech
&prop;
&#8733;
proportional toU+221DISOtech
&infin;
&#8734;
infinityU+221EISOtech
&ang;
&#8736;
angleU+2220ISOamso
&and;
&#8743;
logical and = wedgeU+2227ISOtech
&or;
&#8744;
logical or = veeU+2228ISOtech
&cap;
&#8745;
intersection = capU+2229ISOtech
&cup;
&#8746;
union = cupU+222AISOtech
&int;
&#8747;
integralU+222BISOtech
&there4;
&#8756;
thereforeU+2234ISOtech
&sim;
&#8764;
tilde operator = varies with = similar toU+223CISOtech
&cong;
&#8773;
approximately equal toU+2245ISOtech
&asymp;
&#8776;
almost equal to = asymptotic toU+2248ISOamsr
&ne;
&#8800;
not equal toU+2260ISOtech
&equiv;
&#8801;
identical toU+2261ISOtech
&le;
&#8804;
less-than or equal toU+2264ISOtech
&ge;
&#8805;
greater-than or equal toU+2265ISOtech
&sub;
&#8834;
subset ofU+2282ISOtech
&sup;
&#8835;
superset ofU+2283ISOtech
&nsub;
&#8836;
not a subset ofU+2284ISOamsn
&sube;
&#8838;
subset of or equal toU+2286ISOtech
&supe;
&#8839;
superset of or equal toU+2287ISOtech
&oplus;
&#8853;
circled plus = direct sumU+2295ISOamsb
&otimes;
&#8855;
circled times = vector productU+2297ISOamsb
&perp;
&#8869;
up tack = orthogonal to = perpendicularU+22A5ISOtech
&sdot;
&#8901;
dot operatorU+22C5ISOamsb
&lceil;
&#8968;
left ceiling = APL upstileU+2308ISOamsc 
&rceil;
&#8969;
right ceilingU+2309ISOamsc 
&lfloor;
&#8970;
left floor = APL downstileU+230AISOamsc 
&rfloor;
&#8971;
right floorU+230BISOamsc 
&lang;
&#9001;
left-pointing angle bracket = braU+2329ISOtech
&rang;
&#9002;
right-pointing angle bracket = ketU+232AISOtech
&loz;
&#9674;
lozengeU+25CAISOpub
&spades;
&#9824;
black spade suitU+2660ISOpub
&clubs;
&#9827;
black club suit = shamrockU+2663ISOpub
&hearts;
&#9829;
black heart suit = valentineU+2665ISOpub
&diams;
&#9830;
black diamond suitU+2666ISOpub

 

Also we can encode and decode the target characters in code-behide with C#:

    System.Web.HttpUtility.HtmlEncode("....");  
    System.Web.HttpUtility.HtmlDecode("....");

 

Also we can use following functions to encode and decode the text through javascript:

function htmlEncode(value){
  //create a in-memory div, set it's inner text(which jQuery automatically encodes)
  //then grab the encoded contents back out.  The div never exists on the page.
  return $('<div/>').text(value).html();
}

function htmlDecode(value){
  return $('<div/>').html(value).text();
}

On the htmlEncode function I set the innerText of the element, and retrieve the encoded innerHTML, on the htmlDecode function I set the innerHTML value of the element and the innerText is retrieved.

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值