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:
- Five always work and are worth writing even on UTF-8 pages:
&&,<<,>>,"", a space that never breaks a line. - Quotation and dash entities (
‘'’'“"”"……——) keep typography when a CMS re-saves a file in another encoding. - Numeric references like
—cover signs without a name; the hexadecimal form—matches the code point column below.
| Symbol | Name | Named entity | Code point |
|---|---|---|---|
| & | Ampersand | & | U+0026 |
| < | Less-than sign | < | U+003C |
| > | Greater-than sign | > | U+003E |
| " | Quotation mark | " | U+0022 |
| ' | Apostrophe | ' | U+0027 |
| Non-breaking space | | U+00A0 | |
| ¡ | Inverted exclamation mark | ¡ | U+00A1 |
| ¿ | Inverted question mark | ¿ | U+00BF |
| ¦ | Broken bar | ¦ | U+00A6 |
| ¬ | Not sign | ¬ | U+00AC |
| ¯ | Macron (spacing) | ¯ | U+00AF |
| | Soft hyphen | ­ | U+00AD |
| ± | Plus-minus sign | ± | U+00B1 |
| µ | Micro sign | µ | U+00B5 |
| · | Middle dot | · | U+00B7 |
| ¹ | Superscript one | ¹ | U+00B9 |
| ² | Superscript two | ² | U+00B2 |
| ³ | Superscript three | ³ | U+00B3 |
| ¼ | One quarter | ¼ | U+00BC |
| ½ | One half | ½ | U+00BD |
| ¾ | Three quarters | ¾ | U+00BE |
| ‘ | Left single quotation mark | ‘ | U+2018 |
| ’ | Right single quotation mark | ’ | U+2019 |
| ‚ | Single low-9 quotation mark | ‚ | U+201A |
| “ | Left double quotation mark | “ | U+201C |
| ” | Right double quotation mark | ” | U+201D |
| „ | Double low-9 quotation mark | „ | U+201E |
| † | Dagger | † | U+2020 |
| ‡ | Double dagger | ‡ | U+2021 |
| • | Bullet | • | U+2022 |
| … | Horizontal ellipsis | … | U+2026 |
| ‰ | Per mille sign | ‰ | U+2030 |
| ‹ | Single left-pointing angle quotation mark | ‹ | U+2039 |
| › | Single right-pointing angle quotation mark | › | U+203A |
| ‾ | Overline | ‾ | U+203E |
| € | Euro sign | € | U+20AC |
| ™ | Trade mark sign | ™ | U+2122 |
| ℧ | Ohm sign | ℧ | 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 © 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.