Extended special HTML characters and codes

Updated: 12/26/2023 by Computer Hope
HTML unprintable question mark

Some characters in HTML require special codes, known as an HTML entity, extended HTML, or encoded HTML, to be seen in a browser. If these codes are not used, you may see a box, question mark (see picture), garbage, or the page will not load. Most people encounter this problem when entering characters such as &,",>, and < in their HTML.

With the less than and greater than, these are reserved characters and cannot be used in your HTML code because the HTML markup uses these characters. Using these characters instead of the extended HTML code can prevent the page from loading properly.

To insert a "<" or ">" or any extended HTML into your HTML, instead of using these characters type the HTML entity. For example, the less than ( < ) is "&lt;" and the greater than ( > ) is "&gt;". All HTML entities begins with an ampersand (&) and is finished with a semicolon ( ; ). ISO codes are also shown below but can be more difficult to remember.

Tip

If you're using a WYSIWYG web page editor, make sure you're inserting these codes into the HTML editor portion of the page and not the page layout or WYSIWYG section of the editor.

List of extended special HTML characters and code

Note

The HTML entities mentioned below are case-sensitive. In other words, &prime; and &Prime; give different symbols.

  HTML Decimal Name or meaning
&ensp;   En space.
&emsp;   Em space.
&ndash; &#8211; En dash.
&mdash; &#8212; Em dash.
¡ &iexcl; &#161; Inverted exclamation.
¿ &iquest; &#191; Inverted question mark.
" &quot; &#34; Quotation mark.
' &apos; &#39; Apostrophe.
&lsquo; &#8216; Left single quote.
&rsquo; &#8217; Right single quote.
« &laquo; &#171; Angled quotes or guillemet.
» &raquo; &#187; Angled quotes or guillemet.
  &nbsp; &#160; Non-breaking space.
& &amp; &#38; Ampersand.
&bull; &#8226; Bullet
  &#8984; Apple cloverleaf key symbol.
  &#9167; Eject symbol.
¢ &cent; &#162; Cent.
© &copy; &#169; Copyright.
° &deg; &#176; Degree.
÷ &divide; &#247; Divide.
× &times; &#215; Times (multiplication)
> &gt; &#62; Greater than.
< &lt; &#60; Less than.
µ &micro; &#181; Micron.
· &middot; &#183; Middle dot.
&para; &#182; Pilcrow (paragraph sign).
± &plusmn; &#177; Plus/minus.
&prime;   Single prime.
&Prime;   Double prime.
&euro; &#8364; Euro.
π &pi; &#928; Pi.
£ &pound; &#163; British pound sterling.
® &reg; &#174; Registered.
&trade; &#8482; Trademark
§ &sect; &#167; Section.
¥ &yen; &#165; Japanese Yen.
´ &#180; Acute accent with no letter grave.
` &#96; Accent/reversed apostrophe with no letter.
&larr; &#8592; Left arrow.
&nwarr; &#8598; North West arrow.
&uarr; &#8593; Up arrow.
&nearr; &#8599; North East arrow.
&rarr; &#8594; Right arrow.
&searr; &#8600; South East arrow.
&darr; &#8595; Down arrow.
&swarr; &#8601; South West Arrow.
  &#9745; Check mark box with a checkmark.
  &#10003; Checkmark.
  &#10004; Checkmark.
á &aacute; &#225; Lowercase "a" with an acute accent.
Á &Aacute; &#193; Uppercase "A" with an acute accent.
à &agrave; &#224; Lowercase "a" with grave accent.
À &Agrave; &#192; Uppercase "A" with grave accent.
â &acirc; &#226; Lowercase "a" with circumflex.
 &Acirc; &#194; Uppercase "A" with circumflex.
å &aring; &#229; Lowercase "a" with a ring.
å &Aring; &#197; Uppercase "A" with a ring.
ã &atilde; &#227; Lowercase "a" with a tilde.
à &Atilde; &#195; Uppercase "A" with a tilde.
ä &auml; &#228; Lowercase "a" with diaeresis/umlaut.
Ä &Auml; &#196; Uppercase "A" with diaeresis/umlaut.
ā &#x0101; &#257; Lowercase "a" with the line (macron).
Ā &#x0100; &#256; Uppercase "A" with the line (macron).
æ &aelig; &#230; Lowercase "ae" ligature.
Æ &AElig; &#198; Uppercase "AE" ligature.
ç &ccedil; &#231; Lowercase "c" with cedilla.
Ç &Ccedil; &#199; Uppercase "C" with cedilla.
č   &#269; Lowercase latin C with caron.
Č   &#268; Uppercase latin C with caron.
é &eacute; &#233; Lowercase "e" with an acute accent.
É &Eacute; &#201; Uppercase "E" with an acute accent.
è &egrave; &#232; Lowercase "e" with grave accent.
È &Egrave; &#200; Uppercase "E" with grave accent.
ê &ecirc; &#234; Lowercase "e" with circumflex.
Ê &Ecirc; &#202; Uppercase "E" with circumflex.
ë &euml; &#235; Lowercase "e" with diaeresis/umlaut.
Ë &Euml; &#203; Uppercase "E" with diaeresis/umlaut.
í &iacute; &#237; Lowercase "i" with an acute accent.
Í &Iacute; &#205; Uppercase "I" with an acute accent.
ì &igrave; &#236; Lowercase "i" with grave accent.
Ì &Igrave; &#204; Uppercase "I" with grave accent.
î &icirc; &#238; Lowercase "i" with circumflex.
Î &Icirc; &#206; Uppercase "I" with circumflex.
ï &iuml; &#239; Lowercase "i" with diaeresis/umlaut.
Ï &Iuml; &#207; Uppercase "I" with diaeresis/umlaut.
ī &#x012B; &#299; Lowercase "i" with the line (macron).
Ī &#x012A; &#298; Uppercase "I" with the line (macron).
ñ &ntilde; &#241; Lowercase "n" with a tilde.
Ñ &Ntilde; &#209; Uppercase "N" with a tilde.
ó &oacute; &#243; Lowercase "o" with an acute accent.
Ó &Oacute; &#211; Uppercase "O" with an acute accent.
ò &ograve; &#242; Lowercase "o" with grave accent.
Ò &Ograve; &#210; Uppercase "O" with grave accent.
ô &ocirc; &#244; Lowercase "o" with circumflex.
Ô &Ocirc; &#212; Uppercase "O" with circumflex.
ø &oslash; &#248; Lowercase "o" with a slash.
Ø &Oslash; &#216; Uppercase "O" with a slash.
õ &otilde; &#245; Lowercase "o" with a tilde.
Õ &Otilde; &#213; Uppercase "O" with a tilde.
ö &ouml; &#246; Lowercase "o" with diaeresis/umlaut.
ő &#337; &#337; Lowercase "o" with double acute accents.
Ö &Ouml; &#214; Uppercase "O" with diaeresis/umlaut.
ð   &#240; Latin small letter eth.
ß &szlig; &#223; Ess-tsett.
ř   &#345; Lowercase "r" with a caron.
š   &#353; Lowercase "s" with caron.
Š   &#352; Uppercase "s" with caron.
ú &uacute; &#250; Lowercase "u" with an acute accent.
Ú &Uacute; &#218; Uppercase "U" with an acute accent.
ù &ugrave; &#249; Lowercase "u" with grave accent.
Ù &Ugrave; &#217; Uppercase "U" with grave accent.
û &ucirc; &#251; Lowercase "u" with circumflex.
Û &Ucirc; &#219; Uppercase "U" with circumflex.
ü &uuml; &#252; Lowercase "u" with diaeresis/umlaut.
Ü &Uuml; &#220; Uppercase "U" with diaeresis/umlaut.
ū &#x016B; &#363; Lowercase "u" with a line (macron).
Ū &#x016A; &#362; Uppercase "U" with a line (macron).
ÿ &yuml; &#255; Lowercase "y" with diaeresis/umlaut.
Tip

See our currency definition for a full listing of currencies and their associated HTML decimal values.