HTML Characters
Commonly used characters and codes from the UTF-8 character set, which is used by HTML5 by default.
All characters used in HTML can be inserted using an entity number or entity name.
<p>£6 a pint?!</p>
<!-- can also be written as: -->
<p>£6 a pint?!</p>
<!-- or: -->
<p>£6 a pint?!</p>
Commonly used characters
These characters and codes are used either because the characters shouldn’t be typed directly into an HTML document, they may cause conflicts, or are some of the more helpful characters for creating good typography.
Character | HTML entity number | HTML entity name | Description |
---|---|---|---|
& | & | & | Ampersand |
< | < | < | Less-than sign |
> | > | > | Greater-than sign |
" | " | " | Quotation mark |
' | ' | ' | Apostrophe |
  | | Non-breaking space | |
‘ | ‘ | ‘ | Left single quotation mark |
’ | ’ | ’ | Right single quotation mark |
“ | “ | “ | Left double quotation mark |
” | ” | “ | Right double quotation mark |
‐ | ‐ | ‐ | Dash |
– | – | – | En dash |
— | — | — | Em dash |
… | … | … | Ellipsis |
× | × | × | Multiplication sign |
÷ | ÷ | ÷ | Division sign |
− | − | − | Minus sign |
½ | ½ | ½ | Fraction one half |
⅓ | ⅓ | ⅓ | Fraction one third |
¼ | ¼ | ¼ | Fraction one quarter |
∞ | ∞ | ∞ | Infinity |
£ | £ | £ | Pound sign |
¢ | ¢ | ¢ | Cent sign |
¥ | ¥ | ¥ | Yen sign |
€ | € | € | Euro sign |
° | ° | ° | Degree sign |
© | © | © | Copyright sign |
™ | ™ | ™ | Trademark sign |
† | † | † | Dagger |
№ | № | № | Numero sign |
Basic Latin
The fundamental control and Latin characters. Equivalent to the ASCII character set. Unused, invalid, or non-printable codes are left out.
Character | HTML entity number | HTML entity name | Description |
---|---|---|---|
	 | Horizontal tab | ||
| New line | ||
  | Space | ||
! | ! | ! | Exclamation mark |
" | " | " | Double quotation mark |
# | # | # | Number sign |
$ | $ | $ | Dollar sign |
% | % | % | Percent sign |
& | & | & | Ampersand |
' | ' | ' | Apostrophe |
( | ( | ( | Left parenthesis |
) | ) | ) | Right parenthesis |
* | * | * | Asterisk |
+ | + | + | Plus sign |
, | , | , | Comma |
- | - | Hyphen-minus | |
. | . | . | Period / full stop |
/ | / | / | Slash / solidus |
0-9 | 0 -9 | Digits 0-9 | |
: | : | : | Colon |
; | ; | ; | Semicolon |
< | < | < | Less-than sign |
= | = | = | Equals sign |
> | > | > | Great-than sign |
? | ? | ? | Question mark |
@ | @ | @ | At sign |
A-Z | A -Z | Uppercase letters A-Z | |
[ | [ | [ | Left square bracket |
\ | \ | \ | Backslash / reverse solidus |
] | ] | ] | Right square bracket |
^ | ^ | ^ | Circumflex |
_ | _ | _ | Underscore / low bar |
` | ` | ` | Grave accent |
a-z | a -z | Lowercase letters a-z | |
{ | { | { | Left brace / curly bracket |
| | | | | | Vertical line / bar |
} | } | } | Right brace / curly bracket |
~ | ~ | Tilde |
Latin Supplement
HTML character entities 160-255 (127-159 are not used).
Character | HTML entity number | HTML entity name | Description |
---|---|---|---|
  | | Non-breaking space | |
¡ | ¡ | ¡ | Inverted exclamation mark |
¢ | ¢ | ¢ | Cent sign |
£ | £ | £ | Pound sign |
¤ | ¤ | ¤ | Currency sign |
¥ | ¥ | ¥ | Yen sign |
¦ | ¦ | ¦ | Broken bar |
§ | § | § | Section sign |
¨ | ¨ | ¨ | Diaeresis |
© | © | © | Copyright sign |
ª | ª | ª | Feminine ordinal indicator |
« | « | « | Left-pointing double angle quotation mark |
¬ | ¬ | ¬ | Not sign |
| ­ | ­ | Soft hyphen |
® | ® | ® | Registered sign |
¯ | ¯ | ¯ | Macron |
° | ° | ° | Degree sign |
± | ± | ± | Plus-minus sign |
² | ² | ² | Superscript two |
³ | ³ | ³ | Superscript three |
´ | ´ | ´ | Acute accent |
µ | µ | µ | Micro sign |
¶ | ¶ | ¶ | Pilcrow sign |
· | · | · | Middle dot |
¸ | ¸ | ¸ | Cedilla |
¹ | ¹ | ¹ | Superscript one |
º | º | º | Masculine ordinal indicator |
» | » | » | Right-pointing double angle quotation mark |
¼ | ¼ | ¼ | Fraction one quarter |
½ | ½ | ½ | Fraction one half |
¾ | ¾ | ¾ | Fraction three quarters |
¿ | ¿ | ¿ | Inverted question mark |
À | À | À | Uppercase letter A with grave |
Á | Á | Á | Uppercase letter A with acute |
 |  |  | Uppercase letter A with circumflex |
à | à | à | Uppercase letter A with tilde |
Ä | Ä | Ä | Uppercase letter A with diaeresis |
Å | Å | Å | Uppercase letter A with ring above |
Æ | Æ | Æ | Uppercase letter AE |
Ç | Ç | Ç | Uppercase letter C with cedilla |
È | È | È | Uppercase letter E with grave |
É | É | É | Uppercase letter E with acute |
Ê | Ê | Ê | Uppercase letter E with circumflex |
Ë | Ë | Ë | Uppercase letter E with diaeresis |
Ì | Ì | Ì | Uppercase letter I with grave |
Í | Í | Í | Uppercase letter I with acute |
Î | Î | Î | Uppercase letter I with circumflex |
Ï | Ï | Ï | Uppercase letter I with diaeresis |
Ð | Ð | Ð | Uppercase letter eth |
Ñ | Ñ | Ñ | Uppercase letter N with tilde |
Ò | Ò | Ò | Uppercase letter O with grave |
Ó | Ó | Ó | Uppercase letter O with acute |
Ô | Ô | Ô | Uppercase letter O with circumflex |
Õ | Õ | Õ | Uppercase letter O with tilde |
Ö | Ö | Ö | Uppercase letter O with diaeresis |
× | × | × | Multiplication sign |
Ø | Ø | Ø | Uppercase letter O with stroke |
Ù | Ù | Ù | Uppercase letter U with grave |
Ú | Ú | Ú | Uppercase letter U with acute |
Û | Û | Û | Uppercase letter U with circumflex |
Ü | Ü | Ü | Uppercase letter U with diaeresis |
Ý | Ý | Ý | Uppercase letter Y with acute |
Þ | Þ | Þ | Uppercase letter thorn |
ß | ß | ß | Lowercase letter sharp s |
à | à | à | Lowercase letter a with grave |
á | á | á | Lowercase letter a with acute |
â | â | â | Lowercase letter a with circumflex |
ã | ã | ã | Lowercase letter a with tilde |
ä | ä | ä | Lowercase letter a with diaeresis |
å | å | å | Lowercase letter a with ring above |
æ | æ | æ | Lowercase letter ae |
ç | ç | ç | Lowercase letter c with cedilla |
è | è | è | Lowercase letter e with grave |
é | é | é | Lowercase letter e with acute |
ê | ê | ê | Lowercase letter e with circumflex |
ë | ë | ë | Lowercase letter e with diaeresis |
ì | ì | ì | Lowercase letter i with grave |
í | í | í | Lowercase letter i with acute |
î | î | î | Lowercase letter i with circumflex |
ï | ï | ï | Lowercase letter i with diaeresis |
ð | ð | ð | Lowercase letter eth |
ñ | ñ | ñ | Lowercase letter n with tilde |
ò | ò | ò | Lowercase letter o with grave |
ó | ó | ó | Lowercase letter o with acute |
ô | ô | ô | Lowercase letter o with circumflex |
õ | õ | õ | Lowercase letter o with tilde |
ö | ö | ö | Lowercase letter o with diaeresis |
÷ | ÷ | ÷ | Division sign |
ø | ø | ø | Lowercase letter o with stroke |
ù | ù | ù | Lowercase letter u with grave |
ú | ú | ú | Lowercase letter u with acute |
û | û | û | Lowercase letter u with circumflex |
ü | ü | ü | Lowercase letter u with diaeresis |
ý | ý | ý | Lowercase letter y with acute |
þ | þ | þ | Lowercase letter thorn |
ÿ | ÿ | ÿ | Lowercase letter y with diaeresis |