Named HTML entities

A named entity is a short word an HTML page writes instead of a character: © stands for ©. On a UTF-8 page you rarely need them - but the file may be edited by tools that drop non-ASCII text, and then the words survive.

When entities earn their keep:

Named character references from the WHATWG list, with Unicode code points
SymbolNameNamed entityCode point
&Ampersand&U+0026
<Less-than sign&lt;U+003C
>Greater-than sign&gt;U+003E
"Quotation mark&quot;U+0022
'Apostrophe&apos;U+0027
Non-breaking space&nbsp;U+00A0
¡Inverted exclamation mark&iexcl;U+00A1
¿Inverted question mark&iquest;U+00BF
¦Broken bar&brvbar;U+00A6
¬Not sign&not;U+00AC
¯Macron (spacing)&macr;U+00AF
­Soft hyphen&shy;U+00AD
±Plus-minus sign&plusmn;U+00B1
µMicro sign&micro;U+00B5
·Middle dot&middot;U+00B7
¹Superscript one&sup1;U+00B9
²Superscript two&sup2;U+00B2
³Superscript three&sup3;U+00B3
¼One quarter&frac14;U+00BC
½One half&frac12;U+00BD
¾Three quarters&frac34;U+00BE
‘Left single quotation mark&lsquo;U+2018
’Right single quotation mark&rsquo;U+2019
‚Single low-9 quotation mark&sbquo;U+201A
“Left double quotation mark&ldquo;U+201C
”Right double quotation mark&rdquo;U+201D
„Double low-9 quotation mark&bdquo;U+201E
†Dagger&dagger;U+2020
‡Double dagger&Dagger;U+2021
•Bullet&bull;U+2022
…Horizontal ellipsis&hellip;U+2026
‰Per mille sign&permil;U+2030
‹Single left-pointing angle quotation mark&lsaquo;U+2039
›Single right-pointing angle quotation mark&rsaquo;U+203A
‾Overline&oline;U+203E
€Euro sign&euro;U+20AC
™Trade mark sign&trade;U+2122
℧Ohm sign&mho;U+2126

Questions

Should I write entities everywhere?

No. Save the file as UTF-8 and type the characters; they render correctly everywhere modern. Keep entities for the five structural signs and for files that travel through uncertain tools.

Why does &copy; end with a semicolon?

The name is the whole reference: an opening &, the name, a closing ;. Without the semicolon the browser prints the text literally.

Entity names from the WHATWG named character references; names and code points from the Unicode Standard. To type these characters without entities, see how to type special characters.

Want the whole guide offline?

Glyph Guide Pro is every table on this site - names, entities, code points - in one offline HTML file you can open anywhere, updates included.

Checkout runs on Whop. Cards and wallets everywhere; mobile money, crypto and bank transfer where Whop offers them in your country. The seller there is Glyph Guide.

$4.99, paid once · Buy on Whop

Updated: