XHTML entity reference
Published by Sara Jacobson
Jan 15, 2008 09:09 PM under Quick Reference
You would think, being a person that codes and works with web pages all the time, I would have most of these memorized, but it seems I am always googling for entities.
Rather than hunt through sites yet again, I've compiled this list. It shows the html entity, hex code, dec code, as well as the rendered version of the same (so I can test in various browsers).
It's not complete, but has most of the entities I'll likely use.
If you want me to add any, let me know.
Most-Used Entities
Description | Code | Browser |
Name | Dec | Hex | Name | Dec | Hex |
copyright sign | © | © | © | © | © | © |
registered trade mark sign | ® | ® | ® | ® | ® | ® |
trade mark sign | ™ | ™ | ™ | ™ | ™ | ™ |
ampersand | & | & | & | & | & | & |
less-than sign | < | < | < | < | < | < |
greater-than sign | > | > | > | > | > | > |
Currency
Description | Code | Browser |
Name | Dec | Hex | Name | Dec | Hex |
cent sign | ¢ | ¢ | ¢ | ¢ | ¢ | ¢ |
currency sign | ¤ | ¤ | ¤ | ¤ | ¤ | ¤ |
euro sign | € | € | € | € | € | € |
per thousand sign (per mille) | ‰ | ‰ | ‰ | ‰ | ‰ | ‰ |
pound sign | £ | £ | £ | £ | £ | £ |
yen sign | ¥ | ¥ | ¥ | ¥ | ¥ | ¥ |
Punctuation
Description | Code | Browser |
Name | Dec | Hex | Name | Dec | Hex |
acute accent - spacing acute | ´ | ´ | ´ | ´ | ´ | ´ |
broken vertical bar | ¦ | ¦ | ¦ | ¦ | ¦ | ¦ |
bullet | • | • | • | • | • | • |
dagger | † | † | † | † | † | † |
double dagger | ‡ | ‡ | ‡ | ‡ | ‡ | ‡ |
double low-9 quotation mark | „ | „ | „ | „ | „ | „ |
em dash | – | — | — | – | — | — |
en dash | — | – | – | — | – | – |
feminine ordinal indicator | ª | ª | ª | ª | ª | ª |
horizontal ellipsis | … | … | … | … | … | … |
inverted exclamation mark | ¡ | ¡ | ¡ | ¡ | ¡ | ¡ |
inverted question mark | ¿ | ¿ | ¿ | ¿ | ¿ | ¿ |
left double angle quotes | « | « | « | « | « | « |
left double quotation mark | “ | “ | “ | “ | “ | “ |
left single quotation mark | ‘ | ‘ | ‘ | ‘ | ‘ | ‘ |
masculine ordinal indicator | º | º | º | º | º | º |
micro sign | µ | µ | µ | µ | µ | µ |
middle dot - Georgian comma | · | · | · | · | · | · |
pilcrow sign - paragraph sign | ¶ | ¶ | ¶ | ¶ | ¶ | ¶ |
right double angle quotes | » | » | » | » | » | » |
right double quotation mark | ” | ” | ” | ” | ” | ” |
right single quotation mark | ’ | ’ | ’ | ’ | ’ | ’ |
section sign | § | § | § | § | § | § |
single low-9 quotation mark | ‚ | ‚ | ‚ | ‚ | ‚ | ‚ |
soft hyphen | ­ | ­ | ­ | | | |
spacing cedilla | ¸ | ¸ | ¸ | ¸ | ¸ | ¸ |
spacing diaeresis - umlaut | ¨ | ¨ | ¨ | ¨ | ¨ | ¨ |
spacing macron - overline | ¯ | ¯ | ¯ | ¯ | ¯ | ¯ |
superscript one | ¹ | ¹ | ¹ | ¹ | ¹ | ¹ |
double quotes | " | " | " | " | " | " |
Spacing
Description | Code | Browser |
Name | Dec | Hex | Name | Dec | Hex |
en space |   |   |   | | | |
em space |   |   |   | | | |
non-breaking space | |   |   | | | |
thin space |   |   |   | | | |
Mathmatical Symbols
Description | Code | Browser |
Name | Dec | Hex | Name | Dec | Hex |
multiplication sign | × | × | × | × | × | × |
division sign | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ |
fraction one half | ½ | ½ | ½ | ½ | ½ | ½ |
fraction one quarter | ¼ | ¼ | ¼ | ¼ | ¼ | ¼ |
fraction three quarters | ¾ | ¾ | ¾ | ¾ | ¾ | ¾ |
superscript three - cubed | ³ | ³ | ³ | ³ | ³ | ³ |
superscript two - squared | ² | ² | ² | ² | ² | ² |
degree sign | ° | ° | ° | ° | ° | ° |
not sign | ¬ | ¬ | ¬ | ¬ | ¬ | ¬ |
plus-or-minus sign | ± | ± | ± | ± | ± | ± |
function | ƒ | ƒ | ƒ | ƒ | ƒ | ƒ |
tilde (equivalancy) | ∼ | ~ | ~ | ∼ | ~ | ~ |
Arrows
Description | Code | Browser |
Name | Dec | Hex | Name | Dec | Hex |
leftwards arrow | ← | ← | ← | ← | ← | ← |
rightwards arrow | → | → | → | → | → | → |
downwards arrow | ↓ | ↓ | ↓ | ↓ | ↓ | ↓ |
left right arrow | ↔ | ↔ | ↔ | ↔ | ↔ | ↔ |
downwards arrow with corner leftwards = carriage return | ↵ | ↵ | ↵ | ↵ | ↵ | ↵ |
leftwards double arrow | ⇐ | ⇐ | ⇐ | ⇐ | ⇐ | ⇐ |
upwards double arrow | ⇑ | ⇑ | ⇑ | ⇑ | ⇑ | ⇑ |
rightwards double arrow | ⇒ | ⇒ | ⇒ | ⇒ | ⇒ | ⇒ |
downwards double arrow | ⇓ | ⇓ | ⇓ | ⇓ | ⇓ | ⇓ |
left right double arrow | ⇔ | ⇔ | ⇔ | ⇔ | ⇔ | ⇔ |
Shapes and Symbols
Description | Code | Browser |
Name | Dec | Hex | Name | Dec | Hex |
lozenge | ◊ | ◊ | ◊ | ◊ | ◊ | ◊ |
solid spade suit | ♠ | ♠ | ♠ | ♠ | ♠ | ♠ |
solid club suit = shamrock | ♣ | ♣ | ♣ | ♣ | ♣ | ♣ |
solid heart suit = valentine | ♥ | ♥ | ♥ | ♥ | ♥ | ♥ |
solid diamond suit | ♦ | ♦ | ♦ | ♦ | ♦ | ♦ |
script capital P ¦ power set ¦ Weierstrass P | ℘ | ℘ | ℘ | ℘ | ℘ | ℘ |
blackletter I ¦ imaginary part | ℑ | ℑ | ℑ | ℑ | ℑ | ℑ |
blackletter R ¦ real part symbol | ℜ | ℜ | ℜ | ℜ | ℜ | ℜ |
alef symbol ¦ first transfinite cardinal | ℵ | ℵ | ℵ | ℵ | ℵ | ℵ |
Letter Symbols
Description | Code | Browser |
Name | Dec | Hex | Name | Dec | Hex |
uppercase ETH | Ð | Ð | Ð | Ð | Ð | Ð |
lowercase eth | ð | ð | ð | ð | ð | ð |
uppercase THORN | Þ | Þ | Þ | Þ | Þ | Þ |
lowercase thorn | þ | þ | þ | þ | þ | þ |
lowercase sharp s | ß | ß | ß | ß | ß | ß |
uppercase AE | Æ | Æ | Æ | Æ | Æ | Æ |
lowercase ae | æ | æ | æ | æ | æ | æ |
uppercase OE | Œ | Œ | Œ | Œ | Œ | Œ |
lowercase oe | œ | œ | œ | œ | œ | œ |
Accented characters
Description | Code | Browser |
Name | Dec | Hex | Name | Dec | Hex |
uppercase A with acute | Á | Á | Á | Á | Á | Á |
lowercase a with acute | á | á | á | á | á | á |
uppercase E with acute | É | É | É | É | É | É |
lowercase e with acute | é | é | é | é | é | é |
uppercase I with acute | Í | Í | Í | Í | Í | Í |
lowercase i with acute | í | í | í | í | í | í |
uppercase O with acute | Ó | Ó | Ó | Ó | Ó | Ó |
lowercase o with acute | ó | ó | ó | ó | ó | ó |
uppercase U with acute | Ú | Ú | Ú | Ú | Ú | Ú |
lowercase u with acute | ú | ú | ú | ú | ú | ú |
uppercase Y with acute | Ý | Ý | Ý | Ý | Ý | Ý |
lowercase y with acute | ý | ý | ý | ý | ý | ý |
uppercase S with caron | Š | Š | Š | Š | Š | Š |
lowercase s with caron | š | š | š | š | š | š |
uppercase C with cedilla | Ç | Ç | Ç | Ç | Ç | Ç |
lowercase c with cedilla | ç | ç | ç | ç | ç | ç |
uppercase A with circumflex | Â | Â | Â | Â | Â | Â |
lowercase a with circumflex | â | â | â | â | â | â |
uppercase E with circumflex | Ê | Ê | Ê | Ê | Ê | Ê |
lowercase e with circumflex | ê | ê | ê | ê | ê | ê |
uppercase I with circumflex | Î | Î | Î | Î | Î | Î |
lowercase i with circumflex | î | î | î | î | î | î |
uppercase O with circumflex | Ô | Ô | Ô | Ô | Ô | Ô |
lowercase o with circumflex | ô | ô | ô | ô | ô | ô |
uppercase U with circumflex | Û | Û | Û | Û | Û | Û |
lowercase u with circumflex | û | û | û | û | û | û |
uppercase A with diaeresis | Ä | Ä | Ä | Ä | Ä | Ä |
lowercase a with diaeresis | ä | ä | ä | ä | ä | ä |
uppercase E with diaeresis | Ë | Ë | Ë | Ë | Ë | Ë |
lowercase e with diaeresis | ë | ë | ë | ë | ë | ë |
uppercase I with diaeresis | Ï | Ï | Ï | Ï | Ï | Ï |
lowercase i with diaeresis | ï | ï | ï | ï | ï | ï |
uppercase O with diaeresis | Ö | Ö | Ö | Ö | Ö | Ö |
lowercase o with diaeresis | ö | ö | ö | ö | ö | ö |
uppercase U with diaeresis | Ü | Ü | Ü | Ü | Ü | Ü |
lowercase u with diaeresis | ü | ü | ü | ü | ü | ü |
lowercase y with diaeresis | ÿ | ÿ | ÿ | ÿ | ÿ | ÿ |
uppercase Y with diaeresis | Ÿ | Ÿ | Ÿ | Ÿ | Ÿ | Ÿ |
uppercase A with grave | À | À | À | À | À | À |
lowercase a with grave | à | à | à | à | à | à |
uppercase E with grave | È | È | È | È | È | È |
lowercase e with grave | è | è | è | è | è | è |
uppercase I with grave | Ì | Ì | Ì | Ì | Ì | Ì |
lowercase i with grave | ì | ì | ì | ì | ì | ì |
uppercase O with grave | Ò | Ò | Ò | Ò | Ò | Ò |
lowercase o with grave | ò | ò | ò | ò | ò | ò |
uppercase U with grave | Ù | Ù | Ù | Ù | Ù | Ù |
lowercase u with grave | ù | ù | ù | ù | ù | ù |
uppercase A with ring above | Å | Å | Å | Å | Å | Å |
lowercase a with ring above | å | å | å | å | å | å |
uppercase O with slash | Ø | Ø | Ø | Ø | Ø | Ø |
lowercase o with slash | ø | ø | ø | ø | ø | ø |
uppercase A with tilde | Ã | Ã | Ã | Ã | Ã | Ã |
lowercase a with tilde | ã | ã | ã | ã | ã | ã |
uppercase N with tilde | Ñ | Ñ | Ñ | Ñ | Ñ | Ñ |
lowercase n with tilde | ñ | ñ | ñ | ñ | ñ | ñ |
uppercase O with tilde | Õ | Õ | Õ | Õ | Õ | Õ |
lowercase o with tilde | õ | õ | õ | õ | õ | õ |
Add Your Comment
« Previous Article
Next Article »