HTML Entity Reference

47 characters · named, decimal and hexadecimal forms

Three ways to write the same character, cross-referenced against the code point and what the encoder on this site actually emits. Grouped by purpose, because the question is almost always "how do I type this character" rather than "what starts with the letter m".

Markup-critical (5)

NamedGlyphDecimalHexCode point
&&&&38details
&lt;<&#60;&#x3C;60details
&gt;>&#62;&#x3E;62details
&quot;"&#34;&#x22;34details
&apos;'&#39;&#x27;39details

Whitespace (4)

NamedGlyphDecimalHexCode point
&nbsp; &#160;&#xA0;160details
&ensp; &#8194;&#x2002;8194details
&emsp; &#8195;&#x2003;8195details
&thinsp; &#8201;&#x2009;8201details

Typography (14)

NamedGlyphDecimalHexCode point
&mdash;—&#8212;&#x2014;8212details
&ndash;–&#8211;&#x2013;8211details
&hellip;…&#8230;&#x2026;8230details
&lsquo;‘&#8216;&#x2018;8216details
&rsquo;’&#8217;&#x2019;8217details
&ldquo;“&#8220;&#x201C;8220details
&rdquo;”&#8221;&#x201D;8221details
&bull;•&#8226;&#x2022;8226details
&middot;·&#183;&#xB7;183details
&copy;©&#169;&#xA9;169details
&reg;®&#174;&#xAE;174details
&trade;™&#8482;&#x2122;8482details
&sect;§&#167;&#xA7;167details
&para;&#182;&#xB6;182details

Mathematical (14)

NamedGlyphDecimalHexCode point
&times;×&#215;&#xD7;215details
&divide;÷&#247;&#xF7;247details
&plusmn;±&#177;&#xB1;177details
&ne;≠&#8800;&#x2260;8800details
&le;≤&#8804;&#x2264;8804details
&ge;≥&#8805;&#x2265;8805details
&infin;∞&#8734;&#x221E;8734details
&radic;√&#8730;&#x221A;8730details
&frac12;½&#189;&#xBD;189details
&frac14;¼&#188;&#xBC;188details
&frac34;¾&#190;&#xBE;190details
&deg;°&#176;&#xB0;176details
&micro;µ&#181;&#xB5;181details
&pi;π&#960;&#x3C0;960details

Currency (4)

NamedGlyphDecimalHexCode point
&euro;€&#8364;&#x20AC;8364details
&pound;£&#163;&#xA3;163details
&yen;¥&#165;&#xA5;165details
&cent;¢&#162;&#xA2;162details

Directional (6)

NamedGlyphDecimalHexCode point
&rarr;→&#8594;&#x2192;8594details
&larr;←&#8592;&#x2190;8592details
&uarr;↑&#8593;&#x2191;8593details
&darr;↓&#8595;&#x2193;8595details
&harr;↔&#8596;&#x2194;8596details
&rArr;⇒&#8658;&#x21D2;8658details

Reference notes

How many HTML entities are there?

HTML5 defines more than two thousand named references, most of them variants of accented letters and mathematical symbols. This reference covers the 47 that appear in ordinary web content, grouped by what they are used for rather than alphabetically.

Are named entities case sensitive?

Yes, strictly. amp and AMP are different references, as are rarr and rArr — the second is the double arrow. A wrong case leaves the raw text visible on the page.

Do numeric references need the semicolon?

Write it always. Browsers are forgiving in text content and unforgiving in attributes, so the semicolon is the difference between markup that works and markup that silently mangles the next character.