Character Entity References in HTML 4 and XHTML 1.0
Here is a set of tables containing the 252 allowed entities in HTML 4 and XHTML 1.0, as described in section 24 of the official HTML 4 specifications, published by the W3C. I have divided them into my own, hopefully logical, categories:- Entities for characters with special meaning in HTML and XHTML
- Entities for accented characters, accents, and other diacritics from Western European Languages
- Entities for punctuation characters
- Entities for mathematical and technical characters (including Greek)
- Entities for shapes and arrows
Each table has five columns. The first column contains the entity reference, in the form &entity_name;, that is, an ampersand, the entity name, and then a semi colon. The second column displays how that entity appears in your browser. The proper character will only appear if you have a font that can display it. The third column contains the number reference for the same character in the form &#number;, that is, an ampersand, a hash symbol (which signals that a number reference is coming), the character's number, and then a semi colon. The fourth column shows how the number reference displays in your browser. Again, the proper character is only displayed if the default font selected in your browser preferences contains such a character.
There are many ways to order character entities. You can order them alphabetically, by number, or by Unicode collection, to mention just a few methods. I find all of these rather arbitrary. So, I have taken the liberty of classifying them into what I consider logical categories, and sometimes subcategories, and then by alphabetical order. I hope you find it useful. And don't forget, you can always use your browser's Find command to find a particular word or phrase within this page.
For more information on how to use these entities in your Web pages, see HTML, XHTML, and CSS, Sixth Edition by Elizabeth Castro.
Entities for characters with special meaning in HTML and XHTML
Entity | Entity Displayed | Number | Number Displayed | Description |
& | & | & | & | ampersand |
> | > | > | > | greater-than sign |
< | < | < | < | less-than sign |
" | " | " | " | quotation mark = APL quote |
Entities for accented characters, accents, and other diacritics from Western European Languages
Entity | Entity Displayed | Number | Number Displayed | Description |
´ | ´ | ´ | ´ | acute accent = spacing acute |
¸ | ¸ | ¸ | ¸ | cedilla = spacing cedilla |
ˆ | ˆ | ˆ | ˆ | modifier letter circumflex accent |
¯ | ¯ | ¯ | ¯ | macron = spacing macron = overline = APL overbar |
· | · | · | · | middle dot = Georgian comma = Greek middle dot |
˜ | ˜ | ˜ | ˜ | small tilde |
¨ | ¨ | ¨ | ¨ | diaeresis = spacing diaeresis |
Á | Á | Á | Á | latin capital letter A with acute |
á | á | á | á | latin small letter a with acute |
 |  |  |  | latin capital letter A with circumflex |
â | â | â | â | latin small letter a with circumflex |
Æ | Æ | Æ | Æ | latin capital letter AE = latin capital ligature AE |
æ | æ | æ | æ | latin small letter ae = latin small ligature ae |
À | À | À | À | latin capital letter A with grave = latin capital letter A grave |
à | à | à | à | latin small letter a with grave = latin small letter a grave |
Å | Å | Å | Å | latin capital letter A with ring above = latin capital letter A ring |
å | å | å | å | latin small letter a with ring above = latin small letter a ring |
à | à | à | à | latin capital letter A with tilde |
ã | ã | ã | ã | latin small letter a with tilde |
Ä | Ä | Ä | Ä | latin capital letter A with diaeresis |
ä | ä | ä | ä | latin small letter a with diaeresis |
Ç | Ç | Ç | Ç | latin capital letter C with cedilla |
ç | ç | ç | ç | latin small letter c with cedilla |
É | É | É | É | latin capital letter E with acute |
é | é | é | é | latin small letter e with acute |
Ê | Ê | Ê | Ê | latin capital letter E with circumflex |
ê | ê | ê | ê | latin small letter e with circumflex |
È | È | È | È | latin capital letter E with grave |
è | è | è | è | latin small letter e with grave |
Ð | Ð | Ð | Ð | latin capital letter ETH |
ð | ð | ð | ð | latin small letter eth |
Ë | Ë | Ë | Ë | latin capital letter E with diaeresis |
ë | ë | ë | ë | latin small letter e with diaeresis |
Í | Í | Í | Í | latin capital letter I with acute |
í | í | í | í | latin small letter i with acute |
Î | Î | Î | Î | latin capital letter I with circumflex |
î | î | î | î | latin small letter i with circumflex |
Ì | Ì | Ì | Ì | latin capital letter I with grave |
ì | ì | ì | ì | latin small letter i with grave |
Ï | Ï | Ï | Ï | latin capital letter I with diaeresis |
ï | ï | ï | ï | latin small letter i with diaeresis |
Ñ | Ñ | Ñ | Ñ | latin capital letter N with tilde |
ñ | ñ | ñ | ñ | latin small letter n with tilde |
Ó | Ó | Ó | Ó | latin capital letter O with acute |
ó | ó | ó | ó | latin small letter o with acute |
Ô | Ô | Ô | Ô | latin capital letter O with circumflex |
ô | ô | ô | ô | latin small letter o with circumflex |
Œ | Œ | Œ | Œ | latin capital ligature OE |
œ | œ | œ | œ | latin small ligature oe |
Ò | Ò | Ò | Ò | latin capital letter O with grave |
ò | ò | ò | ò | latin small letter o with grave |
Ø | Ø | Ø | Ø | latin capital letter O with stroke = latin capital letter O slash |
ø | ø | ø | ø | latin small letter o with stroke, = latin small letter o slash |
Õ | Õ | Õ | Õ | latin capital letter O with tilde |
õ | õ | õ | õ | latin small letter o with tilde |
Ö | Ö | Ö | Ö | latin capital letter O with diaeresis |
ö | ö | ö | ö | latin small letter o with diaeresis |
Š | Š | Š | Š | latin capital letter S with caron |
š | š | š | š | latin small letter s with caron |
ß | ß | ß | ß | latin small letter sharp s = ess-zed |
Þ | Þ | Þ | Þ | latin capital letter THORN |
þ | þ | þ | þ | latin small letter thorn |
Ú | Ú | Ú | Ú | latin capital letter U with acute |
ú | ú | ú | ú | latin small letter u with acute |
Û | Û | Û | Û | latin capital letter U with circumflex |
û | û | û | û | latin small letter u with circumflex |
Ù | Ù | Ù | Ù | latin capital letter U with grave |
ù | ù | ù | ù | latin small letter u with grave |
Ü | Ü | Ü | Ü | latin capital letter U with diaeresis |
ü | ü | ü | ü | latin small letter u with diaeresis |
Ý | Ý | Ý | Ý | latin capital letter Y with acute |
ý | ý | ý | ý | latin small letter y with acute |
ÿ | ÿ | ÿ | ÿ | latin small letter y with diaeresis |
Ÿ | Ÿ | Ÿ | Ÿ | latin capital letter Y with diaeresis |
Entities for punctuation characters
Entity | Entity Displayed | Number | Number Displayed | Description |
¢ | ¢ | ¢ | ¢ | cent sign |
¤ | ¤ | ¤ | ¤ | currency sign |
€ | € | € | € | euro sign |
£ | £ | £ | £ | pound sign |
¥ | ¥ | ¥ | ¥ | yen sign = yuan sign |
¦ | ¦ | ¦ | ¦ | broken bar = broken vertical bar |
• | • | • | • | bullet = black small circle |
© | © | © | © | copyright sign |
† | † | † | † | dagger |
‡ | ‡ | ‡ | ‡ | double dagger |
⁄ | ⁄ | ⁄ | ⁄ | fraction slash |
… | … | … | … | horizontal ellipsis = three dot leader |
¡ | ¡ | ¡ | ¡ | inverted exclamation mark |
ℑ | ℑ | ℑ | ℑ | blackletter capital I = imaginary part |
¿ | ¿ | ¿ | ¿ | inverted question mark = turned question mark |
‎ | | ‎ | | left-to-right mark (for formatting only) |
— | — | — | — | em dash |
– | – | – | – | en dash |
¬ | ¬ | ¬ | ¬ | not sign |
‾ | ‾ | ‾ | ‾ | overline = spacing overscore |
ª | ª | ª | ª | feminine ordinal indicator |
º | º | º | º | masculine ordinal indicator |
¶ | ¶ | ¶ | ¶ | pilcrow sign = paragraph sign |
‰ | ‰ | ‰ | ‰ | per mille sign |
′ | ′ | ′ | ′ | prime = minutes = feet |
″ | ″ | ″ | ″ | double prime = seconds = inches |
ℜ | ℜ | ℜ | ℜ | blackletter capital R = real part symbol |
® | ® | ® | ® | registered sign = registered trade mark sign |
‏ | | ‏ | | right-to-left mark (for formatting only) |
§ | § | § | § | section sign |
­ | ­ | soft hyphen = discretionary hyphen (displays incorrectly on Mac) | ||
¹ | ¹ | ¹ | ¹ | superscript one = superscript digit one |
™ | ™ | ™ | ™ | trade mark sign |
℘ | ℘ | ℘ | ℘ | script capital P = power set = Weierstrass p |
„ | „ | „ | „ | double low-9 quotation mark |
« | « | « | « | left-pointing double angle quotation mark = left pointing guillemet |
“ | “ | “ | “ | left double quotation mark |
‹ | ‹ | ‹ | ‹ | single left-pointing angle quotation mark |
‘ | ‘ | ‘ | ‘ | left single quotation mark |
» | » | » | » | right-pointing double angle quotation mark = right pointing guillemet |
” | ” | ” | ” | right double quotation mark |
› | › | › | › | single right-pointing angle quotation mark |
’ | ’ | ’ | ’ | right single quotation mark |
‚ | ‚ | ‚ | ‚ | single low-9 quotation mark |
  |   | em space | ||
  |   | en space | ||
|   | no-break space = non-breaking space | ||
  |   | thin space | ||
‍ | | ‍ | | zero width joiner |
‌ | | ‌ | | zero width non-joiner |
Entities for mathematical and technical characters (including Greek)
Entity | Entity Displayed | Number | Number Displayed | Description |
° | ° | ° | ° | degree sign |
÷ | ÷ | ÷ | ÷ | division sign |
½ | ½ | ½ | ½ | vulgar fraction one half = fraction one half |
¼ | ¼ | ¼ | ¼ | vulgar fraction one quarter = fraction one quarter |
¾ | ¾ | ¾ | ¾ | vulgar fraction three quarters = fraction three quarters |
≥ | ≥ | ≥ | ≥ | greater-than or equal to |
≤ | ≤ | ≤ | ≤ | less-than or equal to |
− | − | − | − | minus sign |
² | ² | ² | ² | superscript two = superscript digit two = squared |
³ | ³ | ³ | ³ | superscript three = superscript digit three = cubed |
× | × | × | × | multiplication sign |
ℵ | ℵ | ℵ | ℵ | alef symbol = first transfinite cardinal |
∧ | ∧ | ∧ | ∧ | logical and = wedge |
∠ | ∠ | ∠ | ∠ | angle |
≈ | ≈ | ≈ | ≈ | almost equal to = asymptotic to |
∩ | ∩ | ∩ | ∩ | intersection = cap |
≅ | ≅ | ≅ | ≅ | approximately equal to |
∪ | ∪ | ∪ | ∪ | union = cup |
∅ | ∅ | ∅ | ∅ | empty set = null set = diameter |
≡ | ≡ | ≡ | ≡ | identical to |
∃ | ∃ | ∃ | ∃ | there exists |
ƒ | ƒ | ƒ | ƒ | latin small f with hook = function = florin |
∀ | ∀ | ∀ | ∀ | for all |
∞ | ∞ | ∞ | ∞ | infinity |
∫ | ∫ | ∫ | ∫ | integral |
∈ | ∈ | ∈ | ∈ | element of |
⟨ | ⟨ | 〈 | 〈 | left-pointing angle bracket = bra |
⌈ | ⌈ | ⌈ | ⌈ | left ceiling = apl upstile |
⌊ | ⌊ | ⌊ | ⌊ | left floor = apl downstile |
∗ | ∗ | ∗ | ∗ | asterisk operator |
µ | µ | µ | µ | micro sign |
∇ | ∇ | ∇ | ∇ | nabla = backward difference |
≠ | ≠ | ≠ | ≠ | not equal to |
∋ | ∋ | ∋ | ∋ | contains as member |
∉ | ∉ | ∉ | ∉ | not an element of |
⊄ | ⊄ | ⊄ | ⊄ | not a subset of |
⊕ | ⊕ | ⊕ | ⊕ | circled plus = direct sum |
∨ | ∨ | ∨ | ∨ | logical or = vee |
⊗ | ⊗ | ⊗ | ⊗ | circled times = vector product |
∂ | ∂ | ∂ | ∂ | partial differential |
⊥ | ⊥ | ⊥ | ⊥ | up tack = orthogonal to = perpendicular |
± | ± | ± | ± | plus-minus sign = plus-or-minus sign |
∏ | ∏ | ∏ | ∏ | n-ary product = product sign |
∝ | ∝ | ∝ | ∝ | proportional to |
√ | √ | √ | √ | square root = radical sign |
⟩ | ⟩ | 〉 | 〉 | right-pointing angle bracket = ket |
⌉ | ⌉ | ⌉ | ⌉ | right ceiling |
⌋ | ⌋ | ⌋ | ⌋ | right floor |
⋅ | ⋅ | ⋅ | ⋅ | dot operator |
∼ | ∼ | ∼ | ∼ | tilde operator = varies with = similar to |
⊂ | ⊂ | ⊂ | ⊂ | subset of |
⊆ | ⊆ | ⊆ | ⊆ | subset of or equal to |
∑ | ∑ | ∑ | ∑ | n-ary sumation |
⊃ | ⊃ | ⊃ | ⊃ | superset of |
⊇ | ⊇ | ⊇ | ⊇ | superset of or equal to |
∴ | ∴ | ∴ | ∴ | therefore |
Α | Α | Α | Α | greek capital letter alpha |
α | α | α | α | greek small letter alpha |
Β | Β | Β | Β | greek capital letter beta |
β | β | β | β | greek small letter beta |
Χ | Χ | Χ | Χ | greek capital letter chi |
χ | χ | χ | χ | greek small letter chi |
Δ | Δ | Δ | Δ | greek capital letter delta |
δ | δ | δ | δ | greek small letter delta |
Ε | Ε | Ε | Ε | greek capital letter epsilon |
ε | ε | ε | ε | greek small letter epsilon |
Η | Η | Η | Η | greek capital letter eta |
η | η | η | η | greek small letter eta |
Γ | Γ | Γ | Γ | greek capital letter gamma |
γ | γ | γ | γ | greek small letter gamma |
Ι | Ι | Ι | Ι | greek capital letter iota |
ι | ι | ι | ι | greek small letter iota |
Κ | Κ | Κ | Κ | greek capital letter kappa |
κ | κ | κ | κ | greek small letter kappa |
Λ | Λ | Λ | Λ | greek capital letter lambda |
λ | λ | λ | λ | greek small letter lambda |
Μ | Μ | Μ | Μ | greek capital letter mu |
μ | μ | μ | μ | greek small letter mu |
Ν | Ν | Ν | Ν | greek capital letter nu |
ν | ν | ν | ν | greek small letter nu |
Ω | Ω | Ω | Ω | greek capital letter omega |
ω | ω | ω | ω | greek small letter omega |
Ο | Ο | Ο | Ο | greek capital letter omicron |
ο | ο | ο | ο | greek small letter omicron |
Φ | Φ | Φ | Φ | greek capital letter phi |
φ | φ | φ | φ | greek small letter phi |
Π | Π | Π | Π | greek capital letter pi |
π | π | π | π | greek small letter pi |
ϖ | ϖ | ϖ | ϖ | greek pi symbol |
Ψ | Ψ | Ψ | Ψ | greek capital letter psi |
ψ | ψ | ψ | ψ | greek small letter psi |
Ρ | Ρ | Ρ | Ρ | greek capital letter rho |
ρ | ρ | ρ | ρ | greek small letter rho |
Σ | Σ | Σ | Σ | greek capital letter sigma |
σ | σ | σ | σ | greek small letter sigma |
ς | ς | ς | ς | greek small letter final sigma |
Τ | Τ | Τ | Τ | greek capital letter tau |
τ | τ | τ | τ | greek small letter tau |
Θ | Θ | Θ | Θ | greek capital letter theta |
θ | θ | θ | θ | greek small letter theta |
ϑ | ϑ | ϑ | ϑ | greek small letter theta symbol |
ϒ | ϒ | ϒ | ϒ | greek upsilon with hook symbol |
Υ | Υ | Υ | Υ | greek capital letter upsilon |
υ | υ | υ | υ | greek small letter upsilon |
Ξ | Ξ | Ξ | Ξ | greek capital letter xi |
ξ | ξ | ξ | ξ | greek small letter xi |
Ζ | Ζ | Ζ | Ζ | greek capital letter zeta |
ζ | ζ | ζ | ζ | greek small letter zeta |
Entities for shapes and arrows
Entity | Entity Displayed | Number | Number Displayed | Description |
↵ | ↵ | ↵ | ↵ | downwards arrow with corner leftwards = carriage return |
↓ | ↓ | ↓ | ↓ | downwards arrow |
⇓ | ⇓ | ⇓ | ⇓ | downwards double arrow |
↔ | ↔ | ↔ | ↔ | left right arrow |
⇔ | ⇔ | ⇔ | ⇔ | left right double arrow |
← | ← | ← | ← | leftwards arrow |
⇐ | ⇐ | ⇐ | ⇐ | leftwards double arrow |
→ | → | → | → | rightwards arrow |
⇒ | ⇒ | ⇒ | ⇒ | rightwards double arrow |
↑ | ↑ | ↑ | ↑ | upwards arrow |
⇑ | ⇑ | ⇑ | ⇑ | upwards double arrow |
♣ | ♣ | ♣ | ♣ | black club suit = shamrock |
♦ | ♦ | ♦ | ♦ | black diamond suit |
♥ | ♥ | ♥ | ♥ | black heart suit = valentine |
♠ | ♠ | ♠ | ♠ | black spade suit |
◊ | ◊ | ◊ | ◊ | lozenge |
No comments:
Post a Comment