Character Entities

Contents:

Standard Character Entities

Characters not found in the normal alphanumeric character set, such as or &, must be specified in HTML using character entities. Character entities can be defined by name (&name;) or by numeric value (&#nnn;).

The first part of this appendix presents the standard HTML character entities. The second part presents newly added entities in the HTML 4.0 specification that are not as well supported.

Standard Character Entities

The following table contains the defined standard, proposed, and several nonstandard, bvut generally supported, character entities for HTML. Not all 256 characters in the ISO character set appear in the table. Missing ones are not recognized by the browser as either named or numeric entities.

Entities for which the version conformance column is blank are part of the HTML 2.0 and later standards and will work with nearly all available browsers. Characters whose version column contains "4.0" are part of the HTML 4.0 specification only. As of this writing, they are supported by versions 4.0 and higher of Netscape Navigator and Internet Explorer. An "N" in the conformance column indicates that the character is a nonstandard entity. Use them with caution as results may vary by platform.

Number Name Symbol Description Version
Horizontal tab
Line feed
Carriage return
Space
! ! Exclamation point
" " " Quotation mark
# # Hash mark
$ $ Dollar symbol
% % Percent symbol
& & & Ampersand
' ' Apostrophe (single quote)
( ( Left parenthesis
) ) Right parenthesis
* * Asterisk
+ + Plus sign
, , Comma
- - Hyphen
. Period
/ / Slash
0- 9 0-9 Digits 0-9
: : Colon
; ; Semicolon
< &lt; < Less than
= = Equals sign
> &gt; > Greater than
? ? Question mark
@ @ Commercial at sign
A- Z A-Z Letters A-Z
[ [ Left square bracket
\ \ Backslash
] ] Right square bracket
^ ^ Caret
_ _ Underscore
` ` Grave accent (no letter)
a- z a-z Letters a-z
{ { Left curly brace
| | Vertical bar
} } Right curly brace
~ ~ Tilde
' , Low left single quote N
ƒ Figure F.1 Small f with hook N
" Figure F.1 Low left double quote N
... Ellipsis N
Figure F.1 Dagger N
Figure F.1 Double dagger N
ˆ ^ Circumflex N
Figure F.1 Per mille (per thousand) N
Š Figure F.1 Capital S, caron N
< Less-than sign N
Œ Figure F.1 Capital OE ligature N
' ` Left single curly quote N
' ' Right single curly quote N
" " Left double curly quote N
" " Right double curly quote N
Figure F.1 Bullet N
- - En dash N
- -- Em dash N
˜ ~ Tilde N
Figure F.1 Trademark N
š Figure F.1 Small s, caron N
> Greater-than sign N
œ Figure F.1 Lowercase oe ligature N
Ÿ Figure F.1 Capital Y, umlaut N
  &nbsp; Nonbreaking space 4.0
¡ &iexcl; ¡ Inverted exclamation mark 4.0
¢ &cent; ¢ Cent sign 4.0
£ &pound; £ Pound symbol 4.0
¤ &curren; ¤ General currency symbol 4.0
¥ &yen; ¥ Yen symbol 4.0
¦ &brvbar; Figure F.1 Broken vertical bar 4.0
§ &sect; § sign 4.0
¨ &uml; ¨ Umlaut 4.0
© &copy; copyleft 4.0
ª &ordf; ª Feminine ordinal 4.0
« &laquo; « Left angle quote 4.0
¬ &not; ¬ Not sign 4.0
­ &shy; ­ Soft hyphen 4.0
® &reg; Registered trademark 4.0
¯ &macr; ¯ Macron accent 4.0
° &deg; ° Degree sign 4.0
± &plusmn; ± Plus or minus 4.0
² &sup2; Superscript 2 4.0
³ &sup3; Superscript 3 4.0
´ &acute; ´ Acute accent (no letter) 4.0
µ &micro; µ Micron (Greek mu) 4.0
&para; Paragraph sign 4.0
· &middot; · Middle dot 4.0
¸ &cedil; ¸ Cedilla 4.0
¹ &sup1; Superscript 1 4.0
º &ordm; º Masculine ordinal 4.0
» &raquo; » Right angle quote 4.0
¼ &frac14; / Fraction one-fourth 4.0
½ &frac12; / Fraction one-half 4.0
¾ &frac34; / Fraction three-fourths 4.0
¿ &iquest; ¿ Inverted question mark 4.0
À &Agrave; À Capital A, grave accent
Á &Aacute; Á Capital A, acute accent
 &Acirc;  Capital A, circumflex accent
à &Atilde; à Capital A, tilde accent
Ä &Auml; Ä Capital A, umlaut
Å &Aring Å Capital A, ring
Æ &AElig; Æ Capital AE ligature
Ç &Ccedil; Ç Capital C, cedilla
È &Egrave È Capital E, grave accent
É &Eacute; É Capital E, acute accent
Ê &Ecirc; Ê Capital E, circumflex accent
Ë &Euml; Ë Capital E, umlaut
Ì &Igrave; Ì Capital I, grave accent
Í &Iacute; Í Capital I, acute accent
Î &Icirc; Î Capital I, circumflex accent
Ï &Iuml; Ï Capital I, umlaut
Ð &ETH; Figure F.1 Capital eth, Icelandic
Ñ &Ntilde; Ñ Capital N, tilde
Ò &Ograve; Ò Capital O, grave accent
Ó &Oacute; Ó Capital O, acute accent
Ô &Ocirc; Ô Capital O, circumflex accent
Õ &Otilde; Õ Capital O, tilde accent
Ö &Ouml; Ö Capital O, umlaut
× &times; Screenshot Multiplication sign 4.0
Ø &Oslash; Ø Capital O, slash
Ù &Ugrave; Ù Capital U, grave accent
Ú &Uacute; Ú Capital U, acute accent
Û &Ucirc; Û Capital U, circumflex
Ü &Uuml; Ü Capital U, umlaut
Ý &Yacute; Figure F.1 Capital Y, acute accent
Þ &THORN; Screenshot Capital Thorn, Icelandic
ß &szlig; ß Small sz ligature, German
à &agrave; à Small a, grave accent
á &aacute; á Small a, acute accent
â &acirc; â Small a, circumflex accent
ã &atilde; ã Small a, tilde
ä &auml; ä Small a, umlaut
å &aring; å Small a, ring
æ &aelig; æ Small ae ligature
ç &ccedil; ç Small c, cedilla
è &egrave; è Small e, grave accent
é &eacute; Small e, acute accent
ê &ecirc; ê Small e, circumflex accent
ë &euml; ë Small e, umlaut accent
ì &igrave; ì Small i, grave accent
í &iacute; í Small i, acute accent
î &icirc; î Small i, circumflex accent
ï &iuml; ï Small i, umlaut
ð &eth; Figure F.1 Small eth, Icelandic
ñ &ntilde; ñ Small n, tilde
ò &ograve; ò Small o, grave accent
ó &oacute; ó Small o, acute accent
ô &ocirc; ô Small o, circumflex accent
õ &otilde; õ Small o, tilde
ö &ouml; ö Small o, umlaut
÷ &divide; ÷ Division sign 4.0
ø &oslash; ø Small o, slash
ù &ugrave; ù Small u, grave accent
ú &uacute; ú Small u, acute accent
û &ucirc; û Small u, circumflex accent
ü &uuml; ü Small u, umlaut
ý &yacute; Figure F.1 Small y, acute accent
þ &thorn; Screenshot Small thorn, Icelandic
ÿ &yuml; ÿ Small y, umlaut

Extended HTML 4.01 Entities

The HTML 4.01 specification introduces a wide variety of new character entities for rendering foreign languages, mathematical material, and other symbols. Their support is limited to the latest browser versions (IE 5.5 and NN 6, although NN4.x supports the Latin Extended-A set).

Latin Extended-A

Number Name Symbol Description Version
Œ &OElig; Figure F.1.1 Capital ligature OE 4.0
œ &oelig; Figure F.1.1 Small ligature oe 4.0
Š &Scaron; Figure F.1.1 Capital S, caron 4.0
š &scaron; Figure F.1.1 Small s, caron 4.0
Ÿ &Yuml; Figure F.1.1 Capital Y, umlaut 4.0

Latin Extended-B

Number Name Symbol Description Version
ƒ &fnof; Figure F.1.2 Small f with hook 4.0

Spacing Modifier Letters

Number Name Symbol Description Version
ˆ &circ; ^ Circumflex accent 4.0
˜ &tilde; ~ Tilde 4.0

Greek

Number Name Symbol Description Version
Α &Alpha; A Greek capital alpha 4.0
Β &Beta; B Greek capital beta 4.0
Γ &Gamma; Screenshot Greek capital gamma 4.0
Δ &Delta; Screenshot Greek capital delta 4.0
Ε &Epsilon; E Greek capital epsilon 4.0
Ζ &Zeta; Z Greek capital zeta 4.0
Η &Eta; H Greek capital eta 4.0
Θ &Theta; Screenshot Greek capital theta 4.0
Ι &Iota; I Greek capital iota 4.0
Κ &Kappa; K Greek capital kappa 4.0
Λ &Lambda; Screenshot Greek capital lambda 4.0
Μ &Mu; M Greek capital mu 4.0
Ν &Nu; N Greek capital nu 4.0
Ξ &Xi; Screenshot Greek capital xi 4.0
Ο &Omicron; O Greek capital omicron 4.0
Π &Pi; Screenshot Greek capital pi 4.0
Ρ &Rho; Screenshot Greek capital rho 4.0
Σ &Sigma; Screenshot Greek captial sigma 4.0
Τ &Tau; T Greek capital tau 4.0
Υ &Upsilon; Screenshot Greek capital upsilon 4.0
Φ &Phi; Screenshot Greek capital phi 4.0
Χ &Chi; Screenshot Greek capital chi 4.0
Ψ &Psi; Screenshot Greek capital psi 4.0
Ω &Omega; Screenshot Greek capital omega 4.0
α &alpha; Screenshot Greek small alpha 4.0
β &beta; Screenshot Greek small beta 4.0
γ &gamma; Screenshot Greek small gamma 4.0
δ &delta; Screenshot Greek small delta 4.0
ε &epsilon; Screenshot Greek small epsilon 4.0
ζ &zeta; Screenshot Greek small zeta 4.0
η &eta; Screenshot Greek small eta 4.0
θ &theta; Figure F.1.4 Greek small theta 4.0
ι &iota; Screenshot Greek small iota 4.0
κ &kappa; Screenshot Greek small kappa 4.0
λ &lambda; Screenshot Greek small lambda 4.0
μ &mu; Figure F.1.4 Greek small mu 4.0
ν &nu; Screenshot Greek small nu 4.0
ξ &xi; Screenshot Greek small xi 4.0
ο &omicron; Screenshot Greek small omicron 4.0
π &pi; Screenshot Greek small pi 4.0
ρ &rho; Screenshot Greek small rho 4.0
ς &sigmaf; Screenshot Greek small letter final sigma 4.0
σ &sigma; Screenshot Greek small sigma 4.0
τ &tau; Screenshot Greek small tau 4.0
υ &upsilon; Screenshot Greek small upsilon 4.0
φ &phi; Screenshot Greek small phi 4.0
χ &chi; Screenshot Greek small chi 4.0
ψ &psi; Screenshot Greek small psi 4.0
ω &omega; Screenshot Greek small omega 4.0
ϑ &thetasym; Figure F.1.4 Greek small theta symbol 4.0
ϒ &upsih; Screenshot Greek upsilon with hook 4.0
ϖ &piv; Screenshot Greek pi symbol 4.0

General Punctuation

Number Name Symbol Description Version
&ensp; En space 4.0
&emsp; Em space 4.0
&thinsp; Thin space 4.0
&zwnj; Non-printing Zero-width non-joiner 4.0
&zwj; Non-printing Zero-width joiner 4.0
&lrm; Non-printing Left-to-right mark 4.0
&rlm; Non-printing Right-to-left mark 4.0
&ndash; - En dash 4.0
&mdash; -- Em dash 4.0
&lsquo; ` Left single quotation mark 4.0
&rsquo; ' Right single quotation mark 4.0
&sbquo; , Single low-9 quotation mark 4.0
&ldquo; " Left double quotation mark 4.0
&rdquo; " Right double quotation mark 4.0
&bdquo; Figure F.1.5 Double low-9 quotation mark 4.0
&dagger; Figure F.1.5 Dagger 4.0
&Dagger; Figure F.1.5 Double dagger 4.0
&bull; Figure F.1.5 Bullet 4.0
&hellep; ... Ellipses 4.0
&permil; Figure F.1.5 Per mille symbol (per thousand) 4.0
&prime; ´ Prime, minutes, feet 4.0
&Prime; Figure F.1.5 Double prime, seconds, inches 4.0
&lsaquo; ` Single left angle quotation (nonstandard) 4.0
» &rsaquo; Screenshot Single right angle quotation (nonstandard) 4.0
&oline; ¯ Overline 4.0
&frasl; / Fraction slash 4.0
&euro; Screenshot Euro symbol 4.0

Letter-like Symbols

Number Name Symbol Description Version
&weierp; Figure F.1.6 Script capital P, power set 4.0
&image; Figure F.1.6 Blackletter capital I, imaginary part 4.0
&real; Figure F.1.6 Blackletter capital R, real part 4.0
&trade; Figure F.1.6 Trademark sign 4.0
&alefsym; Figure F.1.6 Alef symbol, or first transfinite cardinal 4.0

Arrows

Number Name Symbol Description Version
&larr; Figure F.1.7 Left arrow 4.0
&uarr; Figure F.1.7 Up arrow 4.0
&rarr; Figure F.1.7 Right arrow 4.0
&darr; Figure F.1.7 Down arrow 4.0
&harr; Figure F.1.7 Left-right arrow 4.0
&crarr; Screenshot Down arrow with corner leftwards 4.0
&lArr; Figure F.1.7 Leftwards double arrow 4.0
&uArr; Figure F.1.7 Upwards double arrow 4.0
&rArr; Figure F.1.7 Rightwards double arrow 4.0
&dArr; Figure F.1.7 Downwards double arrow 4.0
&hArr; Figure F.1.7 Left-right double arrow 4.0

Mathematical Operators

Number Name Symbol Description Version
&forall; Figure F.1.8 For all 4.0
&part; Figure F.1.8 Partial differential 4.0
&exist; Figure F.1.8 There exists 4.0
&empty; Figure F.1.8 Empty set, null set, diameter 4.0
&nabla; Figure F.1.8 Nabla, backward difference 4.0
&isin; Figure F.1.8 Element of 4.0
&notin; Figure F.1.8 Not an element of 4.0
&ni; Figure F.1.8 Contains as a member 4.0
&prod; Screenshot N-ary product, product sign 4.0
&sum; Figure F.1.8 N-ary summation 4.0
&minus; - Minus sign 4.0
&lowast; * Asterisk operator 4.0
&radic; Figure F.1.8 Square root, radical sign 4.0
&prop; Figure F.1.8 Proportional 4.0
&infin; Figure F.1.8 Infinity symbol 4.0
&ang; Figure F.1.8 Angle 4.0
&and; Figure F.1.8 Logical and, wedge 4.0
&or; Figure F.1.8 Logical or, vee 4.0
&cap; Figure F.1.8 Intersection, cap 4.0
&cup; Figure F.1.8 Union, cup 4.0
&int; Figure F.1.8 Integral 4.0
&there4; Figure F.1.8 Therefore 4.0
&sim; ~ Tilde operator, varies with, similar to 4.0
&cong; Screenshot Approximately equal to 4.0
&ap; Figure F.1.8 Almost equal to, asymptotic to 4.0
&ne; Figure F.1.8 Not equal to 4.0
&equiv; Figure F.1.8 Identical to 4.0
&le; Figure F.1.8 Less than or equal to 4.0
&ge; Figure F.1.8 Greater than or equal to 4.0
&sub; Screenshot Subset of 4.0
&sup; Screenshot Superset of 4.0
&nsub; Screenshot Not a subset of 4.0
&sube Screenshot Subset of or equal to 4.0
&supe Screenshot Superset of or equal to 4.0
&oplus; Screenshot Circled plus, direct sum 4.0
&otimes; Screenshot Circled times, vector product 4.0
&perp; Screenshot Up tack, orthagonal to, perpendicular 4.0
&sdot; Screenshot Dot operator 4.0

Miscellaneous Technical Symbols

Number Name Symbol Description Version
&lceil; Figure F.1.9 Left ceiling 4.0
&rceil; Figure F.1.9 Right ceiling 4.0
&lfloor; Figure F.1.9 Left floor 4.0
&rfloor Figure F.1.9 Right floor 4.0
&lang; Screenshot Left-pointing angle bracket 4.0
&rang; Screenshot Right-pointing angle bracket 4.0

Geometric Shapes

Number Name Symbol Description Version
&loz; Figure F.1.10 Lozenge 4.0

Miscellaneous Symbols

Number Name Symbol Description Version
&spades; Figure F.1.11 Black spade suit 4.0
&clubs Figure F.1.11 Black club suit 4.0
&hearts; Figure F.1.11 Black heart suit 4.0
&diams Figure F.1.11 Black diamond suit 4.0