Special HTML Characters

horizontal rule

Certain characters are reserved for programming variables and HTML code so, for example, you can't just type a "<" character into your HTML and have it always show up correctly on the page. Instead, you need to type the character code (the name code or number code shown below) for <, which is "&lt;" (with no quotes). Below are other special characters for which you will need to use codes in your HTML. If you see a question mark in the table below instead of a symbol, that's because the symbol is reserved for character sets that your computer cannot display, which are used by other languages, for example.

Name Code  Number Code  Glyph  Description 
&quot; &#34; "   double quotation mark - Normal quotes will not work!
&amp; &#38; &   ampersand
&lt; &#60; <   less-than sign - This symbol is used for HTML tags, so you must use &lt; instead.
&gt; &#62; >   greater-than sign - This symbol is used for HTML tags, so you must yse &gt; instead.
&nbsp; &#160;     nonbreaking space - Very useful for adding spaces between words where you want to prevent them from being put onto separate lines. Words with non-breaking spaces between them are treated as a single word, and are therefore kept on the same line.
&iexcl; &#161; ¡   inverted exclamation
&cent; &#162; ¢   cent sign
&pound; &#163; £   pound sterling
&curren; &#164; ¤   general currency sign
&yen; &#165; ¥   yen sign
&brvbar; &#166; ¦   broken vertical bar
&sect; &#167; §   section sign
&uml; &#168; ¨   umlaut
&copy; &#169; ©   copyright
 
Name Code  Number Code  Glyph  Description 
&ordf; &#170; ª   feminine ordinal
&laquo; &#171; «   left angle quote
&not; &#172; ¬   not sign
&shy; &#173; ­   soft hyphen
&reg; &#174; ®   registered trademark
&macr; &#175; ¯   macron accent
&deg; &#176; °   degree sign
&plusmn; &#177; ±   plus or minus
&sup2; &#178; ²   superscript two
&sup3; &#179; ³   superscript three
&acute; &#180; ´   acute accent
&micro; &#181; µ   micro sign
&para; &#182;    paragraph sign
&middot; &#183; ·   middle dot
&cedil; &#184; ¸   cedilla
&sup1; &#185; ¹   superscript one
&ordm; &#186; º   masculine ordinal
&raquo; &#187; »   right angle quote
&frac14; &#188; ¼   one-fourth
 
Name Code  Number Code  Glyph  Description 
&frac12; &#189; ½   one-half
&frac34; &#190; ¾   three-fourths
&iquest; &#191; ¿   inverted question mark
&Agrave; &#192; À   uppercase A, grave accent
&Aacute; &#193; Á   uppercase A, acute accent
&Acirc; &#194;    uppercase A, circumflex accent
&Atilde; &#195; à  uppercase A, tilde
&Auml; &#196; Ä   uppercase A, umlaut
&Aring; &#197; Å   uppercase A, ring
&AElig; &#198; Æ   uppercase AE
&Ccedil; &#199; Ç   uppercase C, cedilla
&Egrave; &#200; È   uppercase E, grave accent
&Eacute; &#201; É   uppercase E, acute accent
&Ecirc; &#202; Ê   uppercase E, circumflex accent
&Euml; &#203; Ë   uppercase E, umlaut
&Igrave; &#204; Ì   uppercase I, grave accent
&Iacute; &#205; Í   uppercase I, acute accent
&Icirc; &#206; Π  uppercase I, circumflex accent
&Iuml; &#207; Ï   uppercase I, umlaut
&ETH; &#208; Р  uppercase Eth, Icelandic
 
Name Code  Number Code  Glyph  Description 
&Ntilde; &#209; Ñ   uppercase N, tilde
&Ograve; &#210; Ò   uppercase O, grave accent
&Oacute; &#211; Ó   uppercase O, acute accent
&Ocirc; &#212; Ô   uppercase O, circumflex accent
&Otilde; &#213; Õ   uppercase O, tilde
&Ouml; &#214; Ö   uppercase O, umlaut
&times; &#215; ×   multiplication sign
&Oslash; &#216; Ø   uppercase O, slash
&Ugrave; &#217; Ù   uppercase U, grave accent
&Uacute; &#218; Ú   uppercase U, acute accent
&Ucirc; &#219; Û   uppercase U, circumflex accent
&Uuml; &#220; Ü   uppercase U, umlaut
&Yacute; &#221; Ý   uppercase Y, acute accent
&THORN; &#222; Þ   uppercase THORN, Icelandic
&szlig; &#223; ß   lowercase sharps, German
&agrave; &#224; à   lowercase a, grave accent
&aacute; &#225; á   lowercase a, acute accent
&acirc; &#226; â   lowercase a, circumflex accent
&atilde; &#227; ã   lowercase a, tilde
 
Name Code  Number Code  Glyph  Description 
&auml; &#228; ä   lowercase a, umlaut
&aring; &#229; å   lowercase a, ring
&aelig; &#230; æ   lowercase ae
&ccedil; &#231; ç   lowercase c, cedilla
&egrave; &#232; è   lowercase e, grave accent
&eacute; &#233; é   lowercase e, acute accent
&ecirc; &#234; ê   lowercase e, circumflex accent
&euml; &#235; ë   lowercase e, umlaut
&igrave; &#236; ì   lowercase i, grave accent
&iacute; &#237; í   lowercase i, acute accent
&icirc; &#238; î   lowercase i, circumflex accent
&iuml; &#239; ï   lowercase i, umlaut
&eth; &#240; ð   lowercase eth, Icelandic
&ntilde; &#241; ñ   lowercase n, tilde
&ograve; &#242; ò   lowercase o, grave accent
&oacute; &#243; ó   lowercase o, acute accent
&ocirc; &#244; ô   lowercase o, circumflex accent
&otilde; &#245; õ   lowercase o, tilde
&ouml; &#246; ö   lowercase o, umlaut
 
Name Code  Number Code  Glyph  Description 
&divide; &#247; ÷   division sign
&oslash; &#248; ø   lowercase o, slash
&ugrave; &#249; ù   lowercase u, grave accent
&uacute; &#250; ú   lowercase u, acute accent
&ucirc; &#251; û   lowercase u, circumflex accent
&uuml; &#252; ü   lowercase u, umlaut
&yacute; &#253; ý   lowercase y, acute accent
&thorn; &#254; þ   lowercase thorn, Icelandic
&yuml; &#255; ÿ   lowercase y, umlaut