HTML and CSS Standards

Special Symbols

Some special symbols, like the em dash and left and right quotes, are not reliably available in the first 256 characters, i.e., everything from #130 to #159 is not officially defined in the (X)HTML standard. To get those in any character set you need to use their correct numbers as noted below, ten per row, starting with the row number (displayed extra large so you can readily tell what the character is). The correct encoding format is “ ”. Some characters may not be available in every typeface, e.g., this virgule (#8260) isn't in Calisto MT, the default serif typeface for MSIE on Windows 98.

Here, once again, a browser comment is necessary. Not only does the typeface affect presentation of some of these characters, but the browsers display varied characters. MSIE displays the most restricted set (is anyone surprised?). Also, always declare a charset or you can get even more unexpected results (e.g., see the code for this page for one charset declaration; as far as I'm concerned only two should ever be used: “iso-8859-1” for sites restricted to Western European languages and “utf-8” for sites that might use any other language or script—exception: some non-Roman based scripts, e.g., Japanese).

It's also possible to use named entities for some of these characters, as below. “[T]his approach is only available for those characters that HTML 4.01 has specifically chosen to represent as entities.” (W3C) However, some entities are not supported even though the corresponding number displays correctly, once again depending on browser/platform/charset/typeface configuration. These are just some of the character entities.

Because of their special status within (X)HTML, the only secure way to display <, >, and & is with the use of character entities. Though it's still a good idea to use numeric encoding for apostrophe, (once again, browser support for the character entity is inconsistent—yes, it's MSIE).

You can also see a complete list of character entities as defined in the (X)HTML standards.

The list of characters: #160–#255

Sometimes the number encoding will display correctly when the character entity won't, though that generally isn't a problem up to #225 (exception, apostrophe—&#39;).

Character
Entity
Numeric
Entity
Char Num Entity
Description
&nbsp; &#160;     non-breaking space
&iexcl; &#161; ¡ ¡ inverted exclamation mark
&cent; &#162; ¢ ¢ cent sign
&pound; &#163; £ £ pound sign
&curren; &#164; ¤ ¤ currency sign
&yen; &#165; ¥ ¥ yen sign
&brvbar; &#166; ¦ ¦ broken bar
&sect; &#167; § § section sign
&uml; &#168; ¨ ¨ diaeresis
&copy; &#169; © © copyright sign
&ordf; &#170; ª ª feminine ordinal indicator
&laquo; &#171; « « left-pointing double angle quotation mark
&not; &#172; ¬ ¬ not sign
&shy; &#173; ­ ­ soft hyphen
&reg; &#174; ® ® registered sign
&macr; &#175; ¯ ¯ macron
&deg; &#176; ° ° degree sign
&plusmn; &#177; ± ± plus-minus sign
&sup2; &#178; ² ² superscript two
&sup3; &#179; ³ ³ superscript three
&acute; &#180; ´ ´ acute accent
&micro; &#181; µ µ micro sign
&para; &#182; pilcrow sign
&middot; &#183; · · middle dot
&cedil; &#184; ¸ ¸ cedilla
&sup1; &#185; ¹ ¹ superscript one
&ordm; &#186; º º masculine ordinal indicator
&raquo; &#187; » » right-pointing double angle quotation mark
&frac14; &#188; ¼ ¼ vulgar fraction one quarter
&frac12; &#189; ½ ½ vulgar fraction one half
&frac34; &#190; ¾ ¾ vulgar fraction three quarters
&iquest; &#191; ¿ ¿ inverted question mark
&Agrave; &#192; À À latin capital letter A with grave
&Aacute; &#193; Á Á latin capital letter A with acute
&Acirc; &#194; Â Â latin capital letter A with circumflex
&Atilde; &#195; Ã Ã latin capital letter A with tilde
&Auml; &#196; Ä Ä latin capital letter A with diaeresis
&Aring; &#197; Å Å latin capital letter A with ring above
&AElig; &#198; Æ Æ latin capital letter AE
&Ccedil; &#199; Ç Ç latin capital letter C with cedilla
&Egrave; &#200; È È latin capital letter E with grave
&Eacute; &#201; É É latin capital letter E with acute
&Ecirc; &#202; Ê Ê latin capital letter E with circumflex
&Euml; &#203; Ë Ë latin capital letter E with diaeresis
&Igrave; &#204; Ì Ì latin capital letter I with grave
&Iacute; &#205; Í Í latin capital letter I with acute
&Icirc; &#206; Î Î latin capital letter I with circumflex
&Iuml; &#207; Ï Ï latin capital letter I with diaeresis
&ETH; &#208; Ð Ð latin capital letter ETH
&Ntilde; &#209; Ñ Ñ latin capital letter N with tilde
&Ograve; &#210; Ò Ò latin capital letter O with grave
&Oacute; &#211; Ó Ó latin capital letter O with acute
&Ocirc; &#212; Ô Ô latin capital letter O with circumflex
&Otilde; &#213; Õ Õ latin capital letter O with tilde
&Ouml; &#214; Ö Ö latin capital letter O with diaeresis
&times; &#215; × × multiplication sign
&Oslash; &#216; Ø Ø latin capital letter O with stroke
&Ugrave; &#217; Ù Ù latin capital letter U with grave
&Uacute; &#218; Ú Ú latin capital letter U with acute
&Ucirc; &#219; Û Û latin capital letter U with circumflex
&Uuml; &#220; Ü Ü latin capital letter U with diaeresis
&Yacute; &#221; Ý Ý latin capital letter Y with acute
&THORN; &#222; Þ Þ latin capital letter THORN
&szlig; &#223; ß ß latin small letter sharp s
&agrave; &#224; à à latin small letter a with grave
&aacute; &#225; á á latin small letter a with acute
&acirc; &#226; â â latin small letter a with circumflex
&atilde; &#227; ã ã latin small letter a with tilde
&auml; &#228; ä ä latin small letter a with diaeresis
&aring; &#229; å å latin small letter a with ring above
&aelig; &#230; æ æ latin small letter ae
&ccedil; &#231; ç ç latin small letter c with cedilla
&egrave; &#232; è è latin small letter e with grave
&eacute; &#233; é é latin small letter e with acute
&ecirc; &#234; ê ê latin small letter e with circumflex
&euml; &#235; ë ë latin small letter e with diaeresis
&igrave; &#236; ì ì latin small letter i with grave
&iacute; &#237; í í latin small letter i with acute
&icirc; &#238; î î latin small letter i with circumflex
&iuml; &#239; ï ï latin small letter i with diaeresis
&eth; &#240; ð ð latin small letter eth
&ntilde; &#241; ñ ñ latin small letter n with tilde
&ograve; &#242; ò ò latin small letter o with grave
&oacute; &#243; ó ó latin small letter o with acute
&ocirc; &#244; ô ô latin small letter o with circumflex
&otilde; &#245; õ õ latin small letter o with tilde
&ouml; &#246; ö ö latin small letter o with diaeresis
&divide; &#247; ÷ ÷ division sign
&oslash; &#248; ø ø latin small letter o with stroke
&ugrave; &#249; ù ù latin small letter u with grave
&uacute; &#250; ú ú latin small letter u with acute
&ucirc; &#251; û û latin small letter u with circumflex
&uuml; &#252; ü ü latin small letter u with diaeresis
&yacute; &#253; ý ý latin small letter y with acute
&thorn; &#254; þ þ latin small letter thorn
&yuml; &#255; ÿ ÿ latin small letter y with diaeresis
		 !"#$%&'()*+,-./
		0123456789
		:;<=>?@
		ABCDEFGHIJKLM
		NOPQRSTUVWXYZ
		[\]^_`
		abcdefghijklm
		nopqrstuvwxyz
		{|}~