HTML Entities Reference

HTML entities let you display reserved and special characters. This table covers the most common named entities with their decimal/hex numeric forms and descriptions.

NamedDecimalHexCharDescription
&&&&Ampersand; must be escaped in text/attributes
&lt;&#60;&#x3C;<Less-than; start of a tag, must be escaped
&gt;&#62;&#x3E;>Greater-than; end of a tag, must be escaped
&quot;&#34;&#x22;"Double quotation mark; escape in attribute values
&apos;&#39;&#x27;'Apostrophe; HTML5 ok, not in XML
&nbsp;&#160;&#xA0; Non-breaking space
&copy;&#169;&#xA9;©Copyright symbol
&reg;&#174;&#xAE;®Registered trademark
&trade;&#8482;&#x2122;Trademark symbol
&hellip;&#8230;&#x2026;Horizontal ellipsis
&mdash;&#8212;&#x2014;Em dash
&ndash;&#8211;&#x2013;En dash
&euro;&#8364;&#x20AC;Euro sign
&pound;&#163;&#xA3;£Pound sign
&cent;&#162;&#xA2;¢Cent sign
&yen;&#165;&#xA5;¥Yen / Yuan sign
&times;&#215;&#xD7;×Multiplication sign
&divide;&#247;&#xF7;÷Division sign
&plusmn;&#177;&#xB1;±Plus-minus sign
&deg;&#176;&#xB0;°Degree sign
&sect;&#167;&#xA7;§Section sign
&bull;&#8226;&#x2022;Bullet
&middot;&#183;&#xB7;·Middle dot
&laquo;&#171;&#xAB;«Left-pointing double angle
&raquo;&#187;&#xBB;»Right-pointing double angle
&sup2;&#178;&#xB2;²Superscript two
&sup3;&#179;&#xB3;³Superscript three
&frac12;&#189;&#xBD;½Vulgar fraction one half
&infin;&#8734;&#x221E;Infinity
&ne;&#8800;&#x2260;Not equal to
&le;&#8804;&#x2264;Less-than or equal to
&ge;&#8805;&#x2265;Greater-than or equal to

Frequently Asked Questions

Why use HTML entities?

In HTML, <, >, & and " are reserved characters that would be parsed as tags or entity syntax. Entities such as &lt; let you display the character itself safely.

Named or numeric entities — which is better?

Named entities (e.g. &copy;) are readable but depend on the spec name table. Numeric entities (&#169; / &#xA9;) reference Unicode code points directly, with broader compatibility and safer use in XML.

Do all characters need escaping?

No. Only the reserved characters (& < > " ') and quotes in attribute values need escaping; ordinary prose does not.

Does HTML5 support &apos;?

HTML5 supports &apos; (apostrophe), but XML/XHTML 1.0 does not; use the numeric entity &#39; for cross-document safety.