HTML Entities
Ever see web pages with random question marks and nonsense symbols? This occurs when people incorrectly encode characters using their computer’s character set, rather than the standard HTML encodings. The table below shows the standard HTML entities, generated from the HTML 4.0 spec at w3.org and the tables at htmlhelp.org. ALA’s EM ’n EN article and Dan’s web tips explain more in-depth how and why to use correct encodings.
The decimal encoding tends to be the best supported, though modern browsers like Firefox support all the encodings. Note that characters in the range 129–159 are invalid and should not be used. The sample image below was generated from Firefox 2 on Mac OS X. A few characters are not supported, such as ♠ and ⇑. (And yes, it is a single image; see the css for how this was accomplished.)
Sample image |
Rendering in your browser | Encoding | Description | ||||
---|---|---|---|---|---|---|---|
Entity | Decimal | Hex | Entity | Decimal | Hex | ||
Spaces | |||||||
a a | a a | a a | |   |   | non-breaking space | |
a a | a a | a a |   |   |   | thin space | |
a a | a a | a a |   |   |   | en space | |
a a | a a | a a |   |   |   | em space | |
aa | aa | aa | ‌ | ‌ | ‌ | zero width non-joiner | |
aa | aa | aa | ‍ | ‍ | ‍ | zero width joiner | |
Dashes | |||||||
– | – | – | – | – | – | en dash | |
— | — | — | — | — | — | em dash | |
aa | aa | aa | ­ | ­ | ­ | discretionary hyphen | |
Punctuation | |||||||
¡ | ¡ | ¡ | ¡ | ¡ | ¡ | inverted exclamation mark | |
¿ | ¿ | ¿ | ¿ | ¿ | ¿ | inverted question mark | |
& | & | & | & | & | & | ampersand | |
§ | § | § | § | § | § | section sign | |
¶ | ¶ | ¶ | ¶ | ¶ | ¶ | paragraph sign (pilcrow) | |
† | † | † | † | † | † | dagger | |
‡ | ‡ | ‡ | ‡ | ‡ | ‡ | double dagger | |
• | • | • | • | • | • | bullet | |
… | … | … | … | … | … | horizontal ellipsis | |
Currency | |||||||
¢ | ¢ | ¢ | ¢ | ¢ | ¢ | cent sign | |
£ | £ | £ | £ | £ | £ | pound sign | |
¤ | ¤ | ¤ | ¤ | ¤ | ¤ | currency sign | |
¥ | ¥ | ¥ | ¥ | ¥ | ¥ | yen sign | |
€ | € | € | € | € | € | euro sign | |
Legal | |||||||
© | © | © | © | © | © | copyright sign | |
® | ® | ® | ® | ® | ® | registered trade mark sign | |
™ | ™ | ™ | ™ | ™ | ™ | trade mark sign | |
Misc | |||||||
¦ | ¦ | ¦ | ¦ | ¦ | ¦ | broken vertical bar | |
ª | ª | ª | ª | ª | ª | feminine ordinal indicator | |
¯ | ¯ | ¯ | ¯ | ¯ | ¯ | macron = overline | |
° | ° | ° | ° | ° | ° | degree sign | |
· | · | · | · | · | · | middle dot | |
º | º | º | º | º | º | masculine ordinal indicator | |
‾ | ‾ | ‾ | ‾ | ‾ | ‾ | overline = spacing overscore | |
◊ | ◊ | ◊ | ◊ | ◊ | ◊ | lozenge | |
♠ | ♠ | ♠ | ♠ | ♠ | ♠ | black spade suit | |
♣ | ♣ | ♣ | ♣ | ♣ | ♣ | black club suit = shamrock | |
♥ | ♥ | ♥ | ♥ | ♥ | ♥ | black heart suit = valentine | |
♦ | ♦ | ♦ | ♦ | ♦ | ♦ | black diamond suit | |
| | | ‎ | ‎ | ‎ | left-to-right mark | |
| | | ‏ | ‏ | ‏ | right-to-left mark | |
Arrows | |||||||
← | ← | ← | ← | ← | ← | leftwards arrow | |
↑ | ↑ | ↑ | ↑ | ↑ | ↑ | upwards arrow | |
→ | → | → | → | → | → | rightwards arrow | |
↓ | ↓ | ↓ | ↓ | ↓ | ↓ | downwards arrow | |
↔ | ↔ | ↔ | ↔ | ↔ | ↔ | left right arrow | |
⇐ | ⇐ | ⇐ | ⇐ | ⇐ | ⇐ | leftwards double arrow | |
⇑ | ⇑ | ⇑ | ⇑ | ⇑ | ⇑ | upwards double arrow | |
⇒ | ⇒ | ⇒ | ⇒ | ⇒ | ⇒ | rightwards double arrow | |
⇓ | ⇓ | ⇓ | ⇓ | ⇓ | ⇓ | downwards double arrow | |
⇔ | ⇔ | ⇔ | ⇔ | ⇔ | ⇔ | left right double arrow | |
↵ | ↵ | ↵ | ↵ | ↵ | ↵ | carriage return | |
Quotes | |||||||
" | " | " | " | " | " | double quote | |
‘ | ‘ | ‘ | ‘ | ‘ | ‘ | left single quote | |
’ | ’ | ’ | ’ | ’ | ’ | right single quote | |
‚ | ‚ | ‚ | ‚ | ‚ | ‚ | single low-9 quote | |
“ | “ | “ | “ | “ | “ | left double quote | |
” | ” | ” | ” | ” | ” | right double quote | |
„ | „ | „ | „ | „ | „ | double low-9 quote | |
′ | ′ | ′ | ′ | ′ | ′ | prime = minutes = feet | |
″ | ″ | ″ | ″ | ″ | ″ | double prime = seconds = inches | |
‹ | ‹ | ‹ | ‹ | ‹ | ‹ | single left angle quote | |
› | › | › | › | › | › | single right angle quote | |
« | « | « | « | « | « | left double angle quote (guillemet) | |
» | » | » | » | » | » | right double angle quote (guillemet) | |
Math - numbers | |||||||
‰ | ‰ | ‰ | ‰ | ‰ | ‰ | per mille sign | |
¼ | ¼ | ¼ | ¼ | ¼ | ¼ | fraction one quarter | |
½ | ½ | ½ | ½ | ½ | ½ | fraction one half | |
¾ | ¾ | ¾ | ¾ | ¾ | ¾ | fraction three quarters | |
¹ | ¹ | ¹ | ¹ | ¹ | ¹ | superscript one | |
² | ² | ² | ² | ² | ² | superscript two | |
³ | ³ | ³ | ³ | ³ | ³ | superscript three | |
Math - fancy | |||||||
µ | µ | µ | µ | µ | µ | micro sign | |
ƒ | ƒ | ƒ | ƒ | ƒ | ƒ | function = florin | |
℘ | ℘ | ℘ | ℘ | ℘ | ℘ | script P = power set = Weierstrass p | |
ℑ | ℑ | ℑ | ℑ | ℑ | ℑ | blackletter I = imaginary part | |
ℜ | ℜ | ℜ | ℜ | ℜ | ℜ | blackletter R = real part | |
ℵ | ℵ | ℵ | ℵ | ℵ | ℵ | alef | |
∞ | ∞ | ∞ | ∞ | ∞ | ∞ | infinity | |
Math - set | |||||||
∀ | ∀ | ∀ | ∀ | ∀ | ∀ | for all | |
∃ | ∃ | ∃ | ∃ | ∃ | ∃ | there exists | |
∴ | ∴ | ∴ | ∴ | ∴ | ∴ | therefore | |
∅ | ∅ | ∅ | ∅ | ∅ | ∅ | empty set | |
∈ | ∈ | ∈ | ∈ | ∈ | ∈ | element of | |
∉ | ∉ | ∉ | ∉ | ∉ | ∉ | not an element of | |
∋ | ∋ | ∋ | ∋ | ∋ | ∋ | contains as member | |
⊂ | ⊂ | ⊂ | ⊂ | ⊂ | ⊂ | subset of | |
⊃ | ⊃ | ⊃ | ⊃ | ⊃ | ⊃ | superset of | |
⊄ | ⊄ | ⊄ | ⊄ | ⊄ | ⊄ | not a subset of | |
⊆ | ⊆ | ⊆ | ⊆ | ⊆ | ⊆ | subset of or equal to | |
⊇ | ⊇ | ⊇ | ⊇ | ⊇ | ⊇ | superset of or equal to | |
∩ | ∩ | ∩ | ∩ | ∩ | ∩ | intersection = cap | |
∪ | ∪ | ∪ | ∪ | ∪ | ∪ | union = cup | |
〈 | 〈 | 〈 | ⟨ | 〈 | 〈 | left angle bracket = bra | |
〉 | 〉 | 〉 | ⟩ | 〉 | 〉 | right angle bracket = ket | |
Math - boolean | |||||||
¬ | ¬ | ¬ | ¬ | ¬ | ¬ | not sign | |
∧ | ∧ | ∧ | ∧ | ∧ | ∧ | logical and = wedge | |
∨ | ∨ | ∨ | ∨ | ∨ | ∨ | logical or = vee | |
Math - relational | |||||||
∝ | ∝ | ∝ | ∝ | ∝ | ∝ | proportional to | |
∼ | ∼ | ∼ | ∼ | ∼ | ∼ | tilde operator = similar to | |
≅ | ≅ | ≅ | ≅ | ≅ | ≅ | approximately equal to | |
≈ | ≈ | ≈ | ≈ | ≈ | ≈ | almost equal to = asymptotic to | |
≠ | ≠ | ≠ | ≠ | ≠ | ≠ | not equal to | |
≡ | ≡ | ≡ | ≡ | ≡ | ≡ | identical to | |
< | < | < | < | < | < | less-than sign | |
> | > | > | > | > | > | greater-than sign | |
≤ | ≤ | ≤ | ≤ | ≤ | ≤ | less-than or equal to | |
≥ | ≥ | ≥ | ≥ | ≥ | ≥ | greater-than or equal to | |
Math - operators | |||||||
∏ | ∏ | ∏ | ∏ | ∏ | ∏ | n-ary product | |
∑ | ∑ | ∑ | ∑ | ∑ | ∑ | n-ary sumation | |
∂ | ∂ | ∂ | ∂ | ∂ | ∂ | partial differential | |
∫ | ∫ | ∫ | ∫ | ∫ | ∫ | integral | |
∇ | ∇ | ∇ | ∇ | ∇ | ∇ | nabla (gradient) | |
− | − | − | − | − | − | minus sign | |
± | ± | ± | ± | ± | ± | plus-or-minus sign | |
∗ | ∗ | ∗ | ∗ | ∗ | ∗ | asterisk operator | |
√ | √ | √ | √ | √ | √ | square root/radical | |
× | × | × | × | × | × | multiplication sign | |
÷ | ÷ | ÷ | ÷ | ÷ | ÷ | division sign | |
⁄ | ⁄ | ⁄ | ⁄ | ⁄ | ⁄ | fraction slash | |
⊕ | ⊕ | ⊕ | ⊕ | ⊕ | ⊕ | circled plus = direct sum | |
⊗ | ⊗ | ⊗ | ⊗ | ⊗ | ⊗ | circled times | |
⋅ | ⋅ | ⋅ | ⋅ | ⋅ | ⋅ | dot operator | |
⌈ | ⌈ | ⌈ | ⌈ | ⌈ | ⌈ | left ceiling | |
⌉ | ⌉ | ⌉ | ⌉ | ⌉ | ⌉ | right ceiling | |
⌊ | ⌊ | ⌊ | ⌊ | ⌊ | ⌊ | left floor | |
⌋ | ⌋ | ⌋ | ⌋ | ⌋ | ⌋ | right floor | |
Math - geometry | |||||||
∠ | ∠ | ∠ | ∠ | ∠ | ∠ | angle | |
⊥ | ⊥ | ⊥ | ⊥ | ⊥ | ⊥ | perpendicular | |
Accents | |||||||
´ | ´ | ´ | ´ | ´ | ´ | acute accent | |
ˆ | ˆ | ˆ | ˆ | ˆ | ˆ | modifier letter circumflex accent | |
˜ | ˜ | ˜ | ˜ | ˜ | ˜ | small tilde | |
¨ | ¨ | ¨ | ¨ | ¨ | ¨ | diaeresis | |
¸ | ¸ | ¸ | ¸ | ¸ | ¸ | cedilla | |
Accented letters - uppercase | |||||||
À | À | À | À | À | À | A grave | |
Á | Á | Á | Á | Á | Á | A acute | |
 |  |  |  |  |  | A circumflex | |
à | à | à | à | à | à | A tilde | |
Ä | Ä | Ä | Ä | Ä | Ä | A diaeresis | |
Å | Å | Å | Å | Å | Å | A ring | |
Æ | Æ | Æ | Æ | Æ | Æ | AE ligature | |
Ç | Ç | Ç | Ç | Ç | Ç | C cedilla | |
È | È | È | È | È | È | E grave | |
É | É | É | É | É | É | E acute | |
Ê | Ê | Ê | Ê | Ê | Ê | E circumflex | |
Ë | Ë | Ë | Ë | Ë | Ë | E diaeresis | |
Ì | Ì | Ì | Ì | Ì | Ì | I grave | |
Í | Í | Í | Í | Í | Í | I acute | |
Î | Î | Î | Î | Î | Î | I circumflex | |
Ï | Ï | Ï | Ï | Ï | Ï | I diaeresis | |
Ð | Ð | Ð | Ð | Ð | Ð | ETH | |
Ñ | Ñ | Ñ | Ñ | Ñ | Ñ | N tilde | |
Ò | Ò | Ò | Ò | Ò | Ò | O grave | |
Ó | Ó | Ó | Ó | Ó | Ó | O acute | |
Ô | Ô | Ô | Ô | Ô | Ô | O circumflex | |
Õ | Õ | Õ | Õ | Õ | Õ | O tilde | |
Ö | Ö | Ö | Ö | Ö | Ö | O diaeresis | |
Ø | Ø | Ø | Ø | Ø | Ø | O stroke = O slash | |
Œ | Œ | Œ | Œ | Œ | Œ | OE ligature | |
Ù | Ù | Ù | Ù | Ù | Ù | U grave | |
Ú | Ú | Ú | Ú | Ú | Ú | U acute | |
Û | Û | Û | Û | Û | Û | U circumflex | |
Ü | Ü | Ü | Ü | Ü | Ü | U diaeresis | |
Ý | Ý | Ý | Ý | Ý | Ý | Y acute | |
Š | Š | Š | Š | Š | Š | S caron | |
Þ | Þ | Þ | Þ | Þ | Þ | THORN | |
Accented letters - lowercase | |||||||
ß | ß | ß | ß | ß | ß | sharp s = ess-zed | |
à | à | à | à | à | à | a grave | |
á | á | á | á | á | á | a acute | |
â | â | â | â | â | â | a circumflex | |
ã | ã | ã | ã | ã | ã | a tilde | |
ä | ä | ä | ä | ä | ä | a diaeresis | |
å | å | å | å | å | å | a ring | |
æ | æ | æ | æ | æ | æ | ae ligature | |
ç | ç | ç | ç | ç | ç | c cedilla | |
è | è | è | è | è | è | e grave | |
é | é | é | é | é | é | e acute | |
ê | ê | ê | ê | ê | ê | e circumflex | |
ë | ë | ë | ë | ë | ë | e diaeresis | |
ì | ì | ì | ì | ì | ì | i grave | |
í | í | í | í | í | í | i acute | |
î | î | î | î | î | î | i circumflex | |
ï | ï | ï | ï | ï | ï | i diaeresis | |
ð | ð | ð | ð | ð | ð | eth | |
ñ | ñ | ñ | ñ | ñ | ñ | n tilde | |
ò | ò | ò | ò | ò | ò | o grave | |
ó | ó | ó | ó | ó | ó | o acute | |
ô | ô | ô | ô | ô | ô | o circumflex | |
õ | õ | õ | õ | õ | õ | o tilde | |
ö | ö | ö | ö | ö | ö | o diaeresis | |
ø | ø | ø | ø | ø | ø | o stroke = o slash | |
œ | œ | œ | œ | œ | œ | oe ligature | |
ù | ù | ù | ù | ù | ù | u grave | |
ú | ú | ú | ú | ú | ú | u acute | |
û | û | û | û | û | û | u circumflex | |
ü | ü | ü | ü | ü | ü | u diaeresis | |
ý | ý | ý | ý | ý | ý | y acute | |
ÿ | ÿ | ÿ | ÿ | ÿ | ÿ | y diaeresis | |
Ÿ | Ÿ | Ÿ | Ÿ | Ÿ | Ÿ | Y diaeresis | |
š | š | š | š | š | š | s caron | |
þ | þ | þ | þ | þ | þ | thorn | |
Greek letters - uppercase | |||||||
Α | Α | Α | Α | Α | Α | alpha | |
Β | Β | Β | Β | Β | Β | beta | |
Γ | Γ | Γ | Γ | Γ | Γ | gamma | |
Δ | Δ | Δ | Δ | Δ | Δ | delta | |
Ε | Ε | Ε | Ε | Ε | Ε | epsilon | |
Ζ | Ζ | Ζ | Ζ | Ζ | Ζ | zeta | |
Η | Η | Η | Η | Η | Η | eta | |
Θ | Θ | Θ | Θ | Θ | Θ | theta | |
Ι | Ι | Ι | Ι | Ι | Ι | iota | |
Κ | Κ | Κ | Κ | Κ | Κ | kappa | |
Λ | Λ | Λ | Λ | Λ | Λ | lambda | |
Μ | Μ | Μ | Μ | Μ | Μ | mu | |
Ν | Ν | Ν | Ν | Ν | Ν | nu | |
Ξ | Ξ | Ξ | Ξ | Ξ | Ξ | xi | |
Ο | Ο | Ο | Ο | Ο | Ο | omicron | |
Π | Π | Π | Π | Π | Π | pi | |
Ρ | Ρ | Ρ | Ρ | Ρ | Ρ | rho | |
Σ | Σ | Σ | Σ | Σ | Σ | sigma | |
Τ | Τ | Τ | Τ | Τ | Τ | tau | |
Υ | Υ | Υ | Υ | Υ | Υ | upsilon | |
Φ | Φ | Φ | Φ | Φ | Φ | phi | |
Χ | Χ | Χ | Χ | Χ | Χ | chi | |
Ψ | Ψ | Ψ | Ψ | Ψ | Ψ | psi | |
Ω | Ω | Ω | Ω | Ω | Ω | omega | |
Greek letters - lowercase | |||||||
α | α | α | α | α | α | alpha | |
β | β | β | β | β | β | beta | |
γ | γ | γ | γ | γ | γ | gamma | |
δ | δ | δ | δ | δ | δ | delta | |
ε | ε | ε | ε | ε | ε | epsilon | |
ζ | ζ | ζ | ζ | ζ | ζ | zeta | |
η | η | η | η | η | η | eta | |
θ | θ | θ | θ | θ | θ | theta | |
ι | ι | ι | ι | ι | ι | iota | |
κ | κ | κ | κ | κ | κ | kappa | |
λ | λ | λ | λ | λ | λ | lambda | |
μ | μ | μ | μ | μ | μ | mu | |
ν | ν | ν | ν | ν | ν | nu | |
ξ | ξ | ξ | ξ | ξ | ξ | xi | |
ο | ο | ο | ο | ο | ο | omicron | |
π | π | π | π | π | π | pi | |
ρ | ρ | ρ | ρ | ρ | ρ | rho | |
ς | ς | ς | ς | ς | ς | final sigma | |
σ | σ | σ | σ | σ | σ | sigma | |
τ | τ | τ | τ | τ | τ | tau | |
υ | υ | υ | υ | υ | υ | upsilon | |
φ | φ | φ | φ | φ | φ | phi | |
χ | χ | χ | χ | χ | χ | chi | |
ψ | ψ | ψ | ψ | ψ | ψ | psi | |
ω | ω | ω | ω | ω | ω | omega | |
Greek letters - special | |||||||
ϑ | ϑ | ϑ | ϑ | ϑ | ϑ | theta symbol | |
ϒ | ϒ | ϒ | ϒ | ϒ | ϒ | upsilon with hook symbol | |
ϖ | ϖ | ϖ | ϖ | ϖ | ϖ | pi symbol |
Copyright © 2011 by Mark Gates. Updated September 2, 2011.
Available from http://web.eecs.utk.edu/~mgates3/ You may freely copy and modify this document under the Creative Commons Attribution license. When distributing, please include the above link and copyright for this original document. |