At LearnHTML, we always recommend using UTF-8. It is the standard for the modern web because it covers almost all characters and symbols in the world.
Below is a quick-access table for the most common characters used in web development.
| Number | Char | Description |
|---|---|---|
| 32 | Space | |
| 33 | ! | Exclamation mark |
| 34 | " | Quotation mark |
| 35 | # | Number sign (Hash) |
| 36 | $ | Dollar sign |
| 38 | & | Ampersand |
| 60 | < | Less-than sign |
| 62 | > | Greater-than sign |
| 169 | © | Copyright symbol |
| 174 | ® | Registered trademark |
| 128 | € | Euro sign |
| ID | Symbol | Name |
|---|---|---|
| 161 | ¡ | Inverted ! |
| 162 | ¢ | Cent sign |
| 163 | £ | Pound sign |
| 165 | ¥ | Yen sign |
| 177 | ± | Plus-Minus |
To ensure your website displays these characters correctly, always include this <meta> tag inside your <head> section:
If you don't define the charset, a browser might display "junk" characters (like é) instead of the correct ones (like é).