HTML Entities

Common HTML entities and their codes.

HTML entities let you display reserved or special characters safely. Reserved characters like < and & must be encoded so browsers don't treat them as markup.

Reserved characters

CharacterNamedNumeric
<&lt;&#60;
>&gt;&#62;
&&amp;&#38;
"&quot;&#34;
'&apos;&#39;

Punctuation & spacing

CharacterNamedNumeric
(non-breaking space)&nbsp;&#160;
&ndash;&#8211;
&mdash;&#8212;
&hellip;&#8230;
“ ”&ldquo; &rdquo;&#8220; &#8221;
‘ ’&lsquo; &rsquo;&#8216; &#8217;

Symbols

CharacterNamedNumeric
©&copy;&#169;
®&reg;&#174;
&trade;&#8482;
&euro;&#8364;
£&pound;&#163;
°&deg;&#176;
×&times;&#215;
÷&divide;&#247;

Arrows

CharacterNamedNumeric
&larr;&#8592;
&rarr;&#8594;
&uarr;&#8593;
&darr;&#8595;

FAQ

Always encode <, > and & in content, and quotes inside attribute values. Other symbols are optional if your page is UTF-8, but entities guarantee correct display.

Named entities are more readable (&copy;), numeric ones (&#169;) always work even for characters without a name. Both are valid.

Last reviewed 2026-08-20.