Jump to content

Numeric Character Reference Listing

+ 1
  adfm's Photo
Posted Jan 14 2010 05:09 PM

Looking for a handy Numeric Character Reference (NCR) listing? Look no further than this excerpt from Jennifer Niederst Robbins' HTML & CSS Pocket Reference. Do you need to know your soft hypen from your en dash? It's in there. Greek capital sigma from an N-ary summation? It's got it. Quotation mark from a Double prime? Yes!


HTML and XHTML documents use the standard 7-bit ASCII character set in their source. The first 31 characters in ASCII (not listed) are such device controls as backspace () and carriage return (
) and are not appropriate for use in HTML documents.

HTML 4.01 defines only four entities in this character range—less than (<,<), greater than (<, >), ampersand (&, &amp;), and quotation mark (", ")—that are necessary for escaping characters that may be interpreted as markup. XHTML also includes the &apos; entity that is included in every XML language. In XHTML documents, the ampersand symbol (&) must always be escaped in attribute values. For better compatibility with XML parsers, authors should use numerical character references instead of named character references for all other character entities.

Decimal

Entity

Symbol

Description

&#032;

Space

&#033;

!

Exclamation point

&#034;

"

"

Quotation mark

&#035;

#

Octothorpe

&#036;

{:content:}lt;/p>

Dollar symbol

&#037;

%

Percent symbol

&#038;

&amp;

&

Ampersand

&#039;

&apos; (XML/XHTML only)

'

Apostrophe (single quote)

&#040;

(

Left parenthesis

&#041;

)

Right parenthesis

&#042;

*

Asterisk

&#043;

+

Plus sign

&#044;

,

Comma

&#045;

-

Hyphen

&#046;

.

Period

&#047;

/

Slash

&#048;&#057;

0–9

Digits 0–9

&#058;

:

Colon

&#059;

;

Semicolon

&#060;

<

<

Less than

&#061;

=

Equals sign

&#062;

>

>

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

Nonstandard Entities (&#130;–&#159;)

The character references numbered 130 through 159 are not defined in HTML and therefore are invalid characters that should be avoided.

Some nonstandard numerical entities in this range are supported by browsers (such as &151; for an em dash); however, they all have standard equivalents (listed in the the section called “General Punctuation” section). If you need an em dash, use &8212; or &mdash; instead.

Latin-1 (ISO-8859-1)

Decimal

Entity

Symbol

Description

&#160;

&nbsp;

Nonbreaking space

&#161;

&iexcl;

¡

Inverted exclamation mark

&#162;

&cent;

¢

Cent sign

&#163;

&pound;

£

Pound symbol

&#164;

&curren;

¤

General currency symbol

&#165;

&yen;

¥

Yen symbol

&#166;

&brvbar;

¦

Broken vertical bar

&#167;

&sect;

§

Section sign

&#168;

&uml;

¨

Umlaut

&#169;

&copy;

©

Copyright

&#170;

&ordf;

ª

Feminine ordinal

&#171;

&laquo;

«

Left angle quote

&#172;

&not;

¬

Not sign

&#173;

&shy;

-

Soft hyphen

&#174;

&reg;

®

Registered trademark

&#175;

&macr;

¯

Macron accent

&#176;

&deg;

°

Degree sign

&#177;

&plusmn;

±

Plus or minus

&#178;

&sup2;

2

Superscript 2

&#179;

&sup3;

3

Superscript 3

&#180;

&acute;

´

Acute accent (no letter)

&#181;

&micro;

µ

Micron (Greek mu)

&#182;

&para;

Paragraph sign

&#183;

&middot;

·

Middle dot

&#184;

&cedil;

¸

Cedilla

&#185;

&sup1;

1

Superscript 1

&#186;

&ordm;

º

Masculine ordinal

&#187;

&raquo;

»

Right angle quote

&#188;

&frac14;

¼

Fraction one-fourth

&#189;

&frac12;

½

Fraction one-half

&#190;

&frac34;

¾

Fraction three-fourths

&#191;

&iquest;

¿

Inverted question mark

&#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;

Ð

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

&#216;

&Oslash;

Ø

Capital O, slash

&#217;

&Ugrave;

Ù

Capital U, grave accent

&#218;

&Uacute;

Ú

Capital U, acute accent

&#219;

&Ucirc;

Û

Capital U, circumflex accent

&#220;

&Uuml;

Ü

Capital U, umlaut

&#221;

&Yacute;

Ý

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

&#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;

ð

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

&#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;

ý

Small y, acute accent

&#254;

&thorn;

þ

Small thorn, Icelandic

&#255;

&yuml;

ÿ

Small y, umlaut

Latin Extended-A

Decimal

Entity

Symbol

Description

&#338;

&OElig;

Œ

Capital ligature OE

&#339;

&oelig;

œ

Small ligature oe

&#352;

&Scaron;

Š

Capital S, caron

&#353;

&scaron;

š

Small s, caron

&#376

&Yuml;

Ÿ

Capital Y, umlaut

Latin Extended-B

Decimal

Entity

Symbol

Description

&#402;

&fnof;

ƒ

Small f with hook

Spacing Modifier Letters

Decimal

Entity

Symbol

Description

&#710;

&circ;

ˆ

Circumflex accent

&#732;

&tilde;

˜

Tilde

Greek

Decimal

Entity

Symbol

Description

&#913;

&Alpha;

Α

Greek capital alpha

&#914;

&Beta;

Β

Greek capital beta

&#915;

&Gamma;

Γ

Greek capital gamma

&#916;

&Delta;

Δ

Greek capital delta

&#917;

&Epsilon;

Ε

Greek capital epsilon

&#918;

&Zeta;

Ζ

Greek capital zeta

&#919;

&Eta;

Η

Greek capital eta

&#920;

&Theta;

Θ

Greek capital theta

&#921;

&Iota;

Ι

Greek capital iota

&#922;

&Kappa;

Κ

Greek capital kappa

&#923;

&Lambda;

Λ

Greek capital lambda

&#924;

&Mu;

Μ

Greek capital mu

&#925;

&Nu;

Ν

Greek capital nu

&#926;

&Xi;

Ξ

Greek capital xi

&#927;

&Omicron;

Ο

Greek capital omicron

&#928;

&Pi;

Π

Greek capital pi

&#929;

&Rho;

Ρ

Greek capital rho

&#931;

&Sigma;

Σ

Greek capital sigma

&#932;

&Tau;

Τ

Greek capital tau

&#933;

&Upsilon;

Υ

Greek capital upsilon

&#934;

&Phi;

Φ

Greek capital phi

&#935;

&Chi;

Χ

Greek capital chi

&#936;

&Psi;

Ψ

Greek capital psi

&#937;

&Omega;

Ω

Greek capital omega

&#945;

&alpha;

α

Greek small alpha

&#946;

&beta;

β

Greek small beta

&#947;

&gamma;

γ

Greek small gamma

&#948;

&delta;

δ

Greek small delta

&#949;

&epsilon;

ε

Greek small epsilon

&#950;

&zeta;

ζ

Greek small zeta

&#951;

&eta;

η

Greek small eta

&#952;

&theta;

θ

Greek small theta

&#953;

&iota;

ι

Greek small iota

&#954;

&kappa;

κ

Greek small kappa

&#955;

&lambda;

λ

Greek small lambda

&#956;

&mu;

μ

Greek small mu

&#957;

&nu;

ν

Greek small nu

&#958;

&xi;

ξ

Greek small xi

&#959;

&omicron;

ο

Greek small omicron

&#960;

&pi;

π

Greek small pi

&#961;

&rho;

ρ

Greek small rho

&#962;

&sigmaf;

ς

Greek small letter final sigma

&#963;

&sigma;

σ

Greek small sigma

&#964;

&tau;

τ

Greek small tau

&#965;

&upsilon;

υ

Greek small upsilon

&#966;

&phi;

φ

Greek small phi

&#967;

&chi;

χ

Greek small chi

&#968;

&psi;

ψ

Greek small psi

&#969;

&omega;

ω

Greek small omega

&#977;

&thetasym;

ϑ

Greek small theta symbol

&#978;

&upsih;

ϒ

Greek upsilon with hook

&#982;

&piv;

ϖ

Greek pi symbol

General Punctuation

Decimal

Entity

Symbol

Description

&#8194;

&ensp;

En space

&#8195;

&emsp;

Em space

&#8201;

&thinsp;

Thin space

&#8204;

&zwnj;

Nonprinting

Zero-width nonjoiner

&#8205;

&zwj;

Nonprinting

Zero-width joiner

&#8206;

&lrm;

Nonprinting

Left-to-right mark

&#8207

&rlm;

Nonprinting

Right-to-left mark

&#8211;

&ndash;

-

En dash

&#8212;

&mdash;

Em dash

&#8216;

&lsquo;

Left single quotation mark

&#8217;

&rsquo;

Right single quotation mark

&#8218;

&sbquo;

Single low-9 quotation mark

&#8220;

&ldquo;

Left double quotation mark

&#8221;

&rdquo;

Right double quotation mark

&#8222;

&bdquo;

Double low-9 quotation mark

&#8224;

&dagger;

Dagger

&#8225;

&Dagger;

Double dagger

&#8226;

&bull;

Bullet

&#8230;

&hellep;

...

Ellipses

&#8240;

&permil;

Per mille symbol (per thousand)

&#8242;

&prime;

Prime, minutes, feet

&#8243;

&Prime;

Double prime, seconds, inches

&#8249;

&lsaquo;

Single left angle quotation (nonstandard)

&#8250;

&rsaquo;

Single right angle quotation (nonstandard)

&#8254;

&oline;

Overline

&#8260;

&frasl;

/

Fraction slash

&#8364;

&euro;

Euro symbol

Letter-like Symbols

Decimal

Entity

Symbol

Description

&#8465;

&image;

Blackletter capital I, imaginary part

&#8472;

&weierp;

Script capital P, power set

&#8476;

&real;

Blackletter capital R, real part

&#8482;

&trade;

Trademark sign

&#8501;

&alefsym;

Alef symbol, or first transfinite cardinal

Arrows

Decimal

Entity

Symbol

Description

&#8592;

&larr;

Left arrow

&#8593;

&uarr;

Up arrow

&#8594;

&rarr;

Right arrow

&#8595;

&darr;

Down arrow

&#8596;

&harr;

Left-right arrow

&#8629;

&crarr;

Down arrow with corner leftward

&#8656;

&lArr;

Leftward double arrow

&#8657;

&uArr;

Upward double arrow

&#8658;

&rArr;

Rightward double arrow

&#8659;

&dArr;

Downward double arrow

&#8660;

&hArr;

Left-right double arrow

Mathematical Operators

Decimal

Entity

Symbol

Description

&#8704;

&forall;

For all

&#8706;

&part;

Partial differential

&#8707;

&exist;

There exists

&#8709;

&empty;

Empty set, null set, diameter

&#8711;

&nabla;

Nabla, backward difference

&#8712;

&isin;

Element of

&#8713

&notin;

∉

Not an element of

&#8715;

&ni;

Contains as a member

&#8719;

&prod;

N-ary product, product sign

&#8721;

&sum;

N-ary summation

&#8722;

&minus;

Minus sign

&#8727;

&lowast;

*

Asterisk operator

&#8730;

&radic;

Square root, radical sign

&#8733;

&prop;

Proportional

&#8734;

&infin;

Infinity symbol

&#8736;

&ang;

Angle

&#8743;

&and;

Logical and, wedge

&#8744;

&or;

Logical or, vee

&#8745;

&cap;

Intersection, cap

&#8746;

&cup;

Union, cup

&#8747;

&int;

Integral

&#8756;

&there4;

Therefore

&#8764;

&sim;

~

Tilde operator, varies with, similar to

&#8773;

&cong;

Approximately equal to

&#8776;

&ap;

Almost equal to, asymptotic to

&#8800;

&ne;

Not equal to

&#8801;

&equiv;

Identical to

&#8804;

&le;

Less than or equal to

&#8805;

&ge;

Greater than or equal to

&#8834;

&sub;

Subset of

&#8835;

&sup;

Superset of

&#8836;

&nsub;

⊄

Not a subset of

&#8838;

&sube

Subset of or equal to

&#8839;

&supe

Superset of or equal to

&#8853;

&oplus;

Circled plus, direct sum

&#8855;

&otimes;

Circled times, vector product

&#8869;

&perp;

Up tack, orthogonal to, perpendicular

&#8901;

&sdot;

Dot operator

Miscellaneous Technical Symbols

Decimal

Entity

Symbol

Description

&#8968;

&lceil;

Left ceiling

&#8969;

&rceil;

Right ceiling

&#8970;

&lfloor;

Left floor

&#8971;

&rfloor

Right floor

&#9001;

&lang;

Left-pointing angle bracket

&#9002;

&rang;

Right-pointing angle bracket

Geometric Shapes

Decimal

Entity

Symbol

Description

&#9674;

&loz;

Lozenge

Miscellaneous Symbols

Decimal

Entity

Symbol

Description

&#9824;

&spades;

Black spade suit

&#9827;

&clubs

Black club suit

&#9829;

&hearts;

Black heart suit

&#9830;

&diams

Black diamond suit

Cover of HTML & XHTML Pocket Reference
Learn more about this topic from HTML & XHTML Pocket Reference, 4th Edition. 

You're ready to make the move to much cleaner standards-compliant web design, but how do you keep all those HTML tags and CSS values straight? This handy pocket guide offers alphabetical listings of every element and attribute in the HTML and XHTML Recommendations. It's an indispensable reference for anyone working with web standards.

Learn More Read Now on Safari


Tags:
0 Subscribe


0 Replies