Book HomeWeb Design in a NutshellSearch this book

Appendix F. 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.

F.1. 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

 

&#059;

 

;

Semicolon

 

<

<

<

Less than

 

&#061;

 

=

Equals sign

 

&#062;

&gt;

>

Greater than

 

&#063;

 

?

Question mark

 

&#064;

 

@

Commercial at sign

 

&#065;- &#090;

 

A-Z

Letters A-Z

 

&#091;

 

[

Left square bracket

 

&#092;

 

\

Backslash

 

&#093;

 

]

Right square bracket

 

&#094;

 

^

Caret

 

&#095;

 

_

Underscore

 

&#096;

 

`

Grave accent (no letter)

 

&#097;- &#122;

 

a-z

Letters a-z

 

&#123;

 

{

Left curly brace

 

&#124;

 

|

Vertical bar

 

&#125;

 

}

Right curly brace

 

&#126;

 

~

Tilde

 

&#130;

 

,

Low left single quote

N

&#131;

 

Figure F.1

Small f with hook

N

&#132;

 

Figure F.1

Low left double quote

N

&#133;

 

...

Ellipsis

N

&#134;

 

Figure F.1

Dagger

N

&#135;

 

Figure F.1

Double dagger

N

&#136;

 

^

Circumflex

N

&#137;

 

Figure F.1

Per mille (per thousand)

N

&#138;

 

Figure F.1

Capital S, caron

N

&#139;

 

<

Less-than sign

N

&#140;

 

Figure F.1

Capital OE ligature

N

&#145;

 

`

Left single curly quote

N

&#146;

 

'

Right single curly quote

N

&#147;

 

"

Left double curly quote

N

&#148;

 

"

Right double curly quote

N

&#149;

 

Figure F.1

Bullet

N

&#150;

 

-

En dash

N

&#151;

 

--

Em dash

N

&#152;

 

~

Tilde

N

&#153;

 

Figure F.1

Trademark

N

&#154;

 

Figure F.1

Small s, caron

N

&#155;

 

>

Greater-than sign

N

&#156;

 

Figure F.1

Lowercase oe ligature

N

&#159;

 

Figure F.1

Capital Y, umlaut

N

&#160;

&nbsp;

 

Nonbreaking space

4.0

&#161;

&iexcl;

¡

Inverted exclamation mark

4.0

&#162;

&cent;

¢

Cent sign

4.0

&#163;

&pound;

£

Pound symbol

4.0

&#164;

&curren;

¤

General currency symbol

4.0

&#165;

&yen;

¥

Yen symbol

4.0

&#166;

&brvbar;

Figure F.1

Broken vertical bar

4.0

&#167;

&sect;

§

Section sign

4.0

&#168;

&uml;

¨

Umlaut

4.0

&#169;

&copy;

©

Copyright

4.0

&#170;

&ordf;

ª

Feminine ordinal

4.0

&#171;

&laquo;

«

Left angle quote

4.0

&#172;

&not;

¬

Not sign

4.0

&#173;

&shy;

­

Soft hyphen

4.0

&#174;

&reg;

®

Registered trademark

4.0

&#175;

&macr;

¯

Macron accent

4.0

&#176;

&deg;

°

Degree sign

4.0

&#177;

&plusmn;

±

Plus or minus

4.0

&#178;

&sup2;

2

Superscript 2

4.0

&#179;

&sup3;

3

Superscript 3

4.0

&#180;

&acute;

´

Acute accent (no letter)

4.0

&#181;

&micro;

µ

Micron (Greek mu)

4.0

&#182;

&para;

Paragraph sign

4.0

&#183;

&middot;

·

Middle dot

4.0

&#184;

&cedil;

¸

Cedilla

4.0

&#185;

&sup1;

1

Superscript 1

4.0

&#186;

&ordm;

º

Masculine ordinal

4.0

&#187;

&raquo;

»

Right angle quote

4.0

&#188;

&frac14;

1/4

Fraction one-fourth

4.0

&#189;

&frac12;

1/2

Fraction one-half

4.0

&#190;

&frac34;

3/4

Fraction three-fourths

4.0

&#191;

&iquest;

¿

Inverted question mark

4.0

&#192;

&Agrave;

À

Capital A, grave accent

 

&#193;

&Aacute;

Á

Capital A, acute accent

 

&#194;

&Acirc;

Â

Capital A, circumflex accent

 

&#195;

&Atilde;

Ã

Capital A, tilde accent

 

&#196;

&Auml;

Ä

Capital A, umlaut

 

&#197;

&Aring

Å

Capital A, ring

 

&#198;

&AElig;

Æ

Capital AE ligature

 

&#199;

&Ccedil;

Ç

Capital C, cedilla

 

&#200;

&Egrave

È

Capital E, grave accent

 

&#201;

&Eacute;

É

Capital E, acute accent

 

&#202;

&Ecirc;

Ê

Capital E, circumflex accent

 

&#203;

&Euml;

Ë

Capital E, umlaut

 

&#204;

&Igrave;

Ì

Capital I, grave accent

 

&#205;

&Iacute;

Í

Capital I, acute accent

 

&#206;

&Icirc;

Î

Capital I, circumflex accent

 

&#207;

&Iuml;

Ï

Capital I, umlaut

 

&#208;

&ETH;

Figure F.1

Capital eth, Icelandic

 

&#209;

&Ntilde;

Ñ

Capital N, tilde

 

&#210;

&Ograve;

Ò

Capital O, grave accent

 

&#211;

&Oacute;

Ó

Capital O, acute accent

 

&#212;

&Ocirc;

Ô

Capital O, circumflex accent

 

&#213;

&Otilde;

Õ

Capital O, tilde accent

 

&#214;

&Ouml;

Ö

Capital O, umlaut

 

&#215;

&times;

Multiplication sign

4.0

&#216;

&Oslash;

Ø

Capital O, slash

 

&#217;

&Ugrave;

Ù

Capital U, grave accent

 

&#218;

&Uacute;

Ú

Capital U, acute accent

 

&#219;

&Ucirc;

Û

Capital U, circumflex

 

&#220;

&Uuml;

Ü

Capital U, umlaut

 

&#221;

&Yacute;

Figure F.1

Capital Y, acute accent

 

&#222;

&THORN;

Capital Thorn, Icelandic

 

&#223;

&szlig;

ß

Small sz ligature, German

 

&#224;

&agrave;

à

Small a, grave accent

 

&#225;

&aacute;

á

Small a, acute accent

 

&#226;

&acirc;

â

Small a, circumflex accent

 

&#227;

&atilde;

ã

Small a, tilde

 

&#228;

&auml;

ä

Small a, umlaut

 

&#229;

&aring;

å

Small a, ring

 

&#230;

&aelig;

æ

Small ae ligature

 

&#231;

&ccedil;

ç

Small c, cedilla

 

&#232;

&egrave;

è

Small e, grave accent

 

&#233;

&eacute;

é

Small e, acute accent

 

&#234;

&ecirc;

ê

Small e, circumflex accent

 

&#235;

&euml;

ë

Small e, umlaut accent

 

&#236;

&igrave;

ì

Small i, grave accent

 

&#237;

&iacute;

í

Small i, acute accent

 

&#238;

&icirc;

î

Small i, circumflex accent

 

&#239;

&iuml;

ï

Small i, umlaut

 

&#240;

&eth;

Figure F.1

Small eth, Icelandic

 

&#241;

&ntilde;

ñ

Small n, tilde

 

&#242;

&ograve;

ò

Small o, grave accent

 

&#243;

&oacute;

ó

Small o, acute accent

 

&#244;

&ocirc;

ô

Small o, circumflex accent

 

&#245;

&otilde;

õ

Small o, tilde

 

&#246;

&ouml;

ö

Small o, umlaut

 

&#247;

&divide;

÷

Division sign

4.0

&#248;

&oslash;

ø

Small o, slash

 

&#249;

&ugrave;

ù

Small u, grave accent

 

&#250;

&uacute;

ú

Small u, acute accent

 

&#251;

&ucirc;

û

Small u, circumflex accent

 

&#252;

&uuml;

ü

Small u, umlaut

 

&#253;

&yacute;

Figure F.1

Small y, acute accent

 

&#254;

&thorn;

Small thorn, Icelandic

 

&#255;

&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).

F.1.1. Latin Extended-A

Number

Name

Symbol

Description

Version

&#338;

&OElig;

Figure F.1.1

Capital ligature OE

4.0

&#339;

&oelig;

Figure F.1.1

Small ligature oe

4.0

&#352;

&Scaron;

Figure F.1.1

Capital S, caron

4.0

&#353;

&scaron;

Figure F.1.1

Small s, caron

4.0

&#376

&Yuml;

Figure F.1.1

Capital Y, umlaut

4.0

F.1.2. Latin Extended-B

Number

Name

Symbol

Description

Version

&#402;

&fnof;

Figure F.1.2

Small f with hook

4.0

F.1.3. Spacing Modifier Letters

Number

Name

Symbol

Description

Version

&#710;

&circ;

^

Circumflex accent

4.0

&#732;

&tilde;

~

Tilde

4.0

F.1.4. Greek

Number

Name

Symbol

Description

Version

&#913;

&Alpha;

A

Greek capital alpha

4.0

&#914;

&Beta;

B

Greek capital beta

4.0

&#915;

&Gamma;

Greek capital gamma

4.0

&#916;

&Delta;

Greek capital delta

4.0

&#917;

&Epsilon;

E

Greek capital epsilon

4.0

&#918;

&Zeta;

Z

Greek capital zeta

4.0

&#919

&Eta;

H

Greek capital eta

4.0

&#920;

&Theta;

Greek capital theta

4.0

&#921;

&Iota;

I

Greek capital iota

4.0

&#922;

&Kappa;

K

Greek capital kappa

4.0

&#923;

&Lambda;

Greek capital lambda

4.0

&#924;

&Mu;

M

Greek capital mu

4.0

&#925;

&Nu;

N

Greek capital nu

4.0

&#926;

&Xi;

Greek capital xi

4.0

&#927;

&Omicron;

O

Greek capital omicron

4.0

&#928;

&Pi;

Greek capital pi

4.0

&#929;

&Rho;

Greek capital rho

4.0

&#931;

&Sigma;

Greek captial sigma

4.0

&#932;

&Tau;

T

Greek capital tau

4.0

&#933;

&Upsilon;

Greek capital upsilon

4.0

&#934;

&Phi;

Greek capital phi

4.0

&#935;

&Chi;

Greek capital chi

4.0

&#936;

&Psi;

Greek capital psi

4.0

&#937;

&Omega;

Greek capital omega

4.0

&#945;

&alpha;

Greek small alpha

4.0

&#946;

&beta;

Greek small beta

4.0

&#947;

&gamma;

Greek small gamma

4.0

&#948;

&delta;

Greek small delta

4.0

&#949;

&epsilon;

Greek small epsilon

4.0

&#950;

&zeta;

Greek small zeta

4.0

&#951;

&eta;

Greek small eta

4.0

&#952;

&theta;

Figure F.1.4

Greek small theta

4.0

&#953;

&iota;

Greek small iota

4.0

&#954;

&kappa;

Greek small kappa

4.0

&#955;

&lambda;

Greek small lambda

4.0

&#956;

&mu;

Figure F.1.4

Greek small mu

4.0

&#957;

&nu;

Greek small nu

4.0

&#958;

&xi;

Greek small xi

4.0

&#959;

&omicron;

Greek small omicron

4.0

&#960;

&pi;

Greek small pi

4.0

&#961;

&rho;

Greek small rho

4.0

&#962;

&sigmaf;

Greek small letter final sigma

4.0

&#963;

&sigma;

Greek small sigma

4.0

&#964;

&tau;

Greek small tau

4.0

&#965;

&upsilon;

Greek small upsilon

4.0

&#966;

&phi;

Greek small phi

4.0

&#967;

&chi;

Greek small chi

4.0

&#968;

&psi;

Greek small psi

4.0

&#969;

&omega;

Greek small omega

4.0

&#977;

&thetasym;

Figure F.1.4

Greek small theta symbol

4.0

&#978;

&upsih;

Greek upsilon with hook

4.0

&#982;

&piv;

Greek pi symbol

4.0

F.1.5. General Punctuation

Number

Name

Symbol

Description

Version

&#8194;

&ensp;

 

En space

4.0

&#8195;

&emsp;

 

Em space

4.0

&#8201;

&thinsp;

 

Thin space

4.0

&#8204;

&zwnj;

Non-printing

Zero-width non-joiner

4.0

&#8205;

&zwj;

Non-printing

Zero-width joiner

4.0

&#8206;

&lrm;

Non-printing

Left-to-right mark

4.0

&#8207

&rlm;

Non-printing

Right-to-left mark

4.0

&#8211;

&ndash;

-

En dash

4.0

&#8212;

&mdash;

--

Em dash

4.0

&#8216;

&lsquo;

`

Left single quotation mark

4.0

&#8217;

&rsquo;

'

Right single quotation mark

4.0

&#8218;

&sbquo;

,

Single low-9 quotation mark

4.0

&#8220;

&ldquo;

"

Left double quotation mark

4.0

&#8221;

&rdquo;

"

Right double quotation mark

4.0

&#8222;

&bdquo;

Figure F.1.5

Double low-9 quotation mark

4.0

&#8224;

&dagger;

Figure F.1.5

Dagger

4.0

&#8225;

&Dagger;

Figure F.1.5

Double dagger

4.0

&#8226;

&bull;

Figure F.1.5

Bullet

4.0

&#8230;

&hellep;

...

Ellipses

4.0

&#8240;

&permil;

Figure F.1.5

Per mille symbol (per thousand)

4.0

&#8242;

&prime;

´

Prime, minutes, feet

4.0

&#8243;

&Prime;

Figure F.1.5

Double prime, seconds, inches

4.0

&#8249;

&lsaquo;

`

Single left angle quotation (nonstandard)

4.0

&#8250;

&rsaquo;

Single right angle quotation (nonstandard)

4.0

&#8254;

&oline;

¯

Overline

4.0

&#8260;

&frasl;

/

Fraction slash

4.0

&#8364;

&euro;

Euro symbol

4.0

F.1.6. Letter-like Symbols

Number

Name

Symbol

Description

Version

&#8472;

&weierp;

Figure F.1.6

Script capital P, power set

4.0

&#8465;

&image;

Figure F.1.6

Blackletter capital I, imaginary part

4.0

&#8476;

&real;

Figure F.1.6

Blackletter capital R, real part

4.0

&#8482;

&trade;

Figure F.1.6

Trademark sign

4.0

&#8501;

&alefsym;

Figure F.1.6

Alef symbol, or first transfinite cardinal

4.0

F.1.7. Arrows

Number

Name

Symbol

Description

Version

&#8592;

&larr;

Figure F.1.7

Left arrow

4.0

&#8593;

&uarr;

Figure F.1.7

Up arrow

4.0

&#8594;

&rarr;

Figure F.1.7

Right arrow

4.0

&#8595;

&darr;

Figure F.1.7

Down arrow

4.0

&#8596;

&harr;

Figure F.1.7

Left-right arrow

4.0

&#8629;

&crarr;

Down arrow with corner leftwards

4.0

&#8656;

&lArr;

Figure F.1.7

Leftwards double arrow

4.0

&#8657;

&uArr;

Figure F.1.7

Upwards double arrow

4.0

&#8658;

&rArr;

Figure F.1.7

Rightwards double arrow

4.0

&#8659;

&dArr;

Figure F.1.7

Downwards double arrow

4.0

&#8660;

&hArr;

Figure F.1.7

Left-right double arrow

4.0

F.1.8. Mathematical Operators

Number

Name

Symbol

Description

Version

&#8704;

&forall;

Figure F.1.8

For all

4.0

&#8706;

&part;

Figure F.1.8

Partial differential

4.0

&#8707;

&exist;

Figure F.1.8

There exists

4.0

&#8709;

&empty;

Figure F.1.8

Empty set, null set, diameter

4.0

&#8711;

&nabla;

Figure F.1.8

Nabla, backward difference

4.0

&#8712;

&isin;

Figure F.1.8

Element of

4.0

&#8713

&notin;

Figure F.1.8

Not an element of

4.0

&#8715;

&ni;

Figure F.1.8

Contains as a member

4.0

&#8719;

&prod;

N-ary product, product sign

4.0

&#8721;

&sum;

Figure F.1.8

N-ary summation

4.0

&#8722;

&minus;

-

Minus sign

4.0

&#8727;

&lowast;

*

Asterisk operator

4.0

&#8730;

&radic;

Figure F.1.8

Square root, radical sign

4.0

&#8733;

&prop;

Figure F.1.8

Proportional

4.0

&#8734;

&infin;

Figure F.1.8

Infinity symbol

4.0

&#8736;

&ang;

Figure F.1.8

Angle

4.0

&#8743;

&and;

Figure F.1.8

Logical and, wedge

4.0

&#8744;

&or;

Figure F.1.8

Logical or, vee

4.0

&#8745;

&cap;

Figure F.1.8

Intersection, cap

4.0

&#8746;

&cup;

Figure F.1.8

Union, cup

4.0

&#8747;

&int;

Figure F.1.8

Integral

4.0

&#8756;

&there4;

Figure F.1.8

Therefore

4.0

&#8764;

&sim;

~

Tilde operator, varies with, similar to

4.0

&#8773;

&cong;

Approximately equal to

4.0

&#8776;

&ap;

Figure F.1.8

Almost equal to, asymptotic to

4.0

&#8800;

&ne;

Figure F.1.8

Not equal to

4.0

&#8801;

&equiv;

Figure F.1.8

Identical to

4.0

&#8804;

&le;

Figure F.1.8

Less than or equal to

4.0

&#8805;

&ge;

Figure F.1.8

Greater than or equal to

4.0

&#8834;

&sub;

Subset of

4.0

&#8835;

&sup;

Superset of

4.0

&#8836;

&nsub;

Not a subset of

4.0

&#8838;

&sube

Subset of or equal to

4.0

&#8839;

&supe

Superset of or equal to

4.0

&#8853;

&oplus;

Circled plus, direct sum

4.0

&#8855;

&otimes;

Circled times, vector product

4.0

&#8869;

&perp;

Up tack, orthagonal to, perpendicular

4.0

&#8901;

&sdot;

Dot operator

4.0

F.1.9. Miscellaneous Technical Symbols

Number

Name

Symbol

Description

Version

&#8968;

&lceil;

Figure F.1.9

Left ceiling

4.0

&#8969;

&rceil;

Figure F.1.9

Right ceiling

4.0

&#8970;

&lfloor;

Figure F.1.9

Left floor

4.0

&#8971;

&rfloor

Figure F.1.9

Right floor

4.0

&#9001;

&lang;

Left-pointing angle bracket

4.0

&#9002;

&rang;

Right-pointing angle bracket

4.0

F.1.10. Geometric Shapes

Number

Name

Symbol

Description

Version

&#9674;

&loz;

Figure F.1.10

Lozenge

4.0

F.1.11. Miscellaneous Symbols

Number

Name

Symbol

Description

Version

&#9824;

&spades;

Figure F.1.11

Black spade suit

4.0

&#9827;

&clubs

Figure F.1.11

Black club suit

4.0

&#9829;

&hearts;

Figure F.1.11

Black heart suit

4.0

&#9830;

&diams

Figure F.1.11

Black diamond suit

4.0



Library Navigation Links

Copyright © 2002 O'Reilly & Associates. All rights reserved.