HTML Punctuation Marks
Below are character codes for the HTML # sign, @ symbol, % percent sign,
HTML ampersand (& HTML code), HTML copyright symbol and HTML caret insertion point,
along with regular punctuation like the question mark, exclamation point,
non-breaking hyphen, non-breaking space and more.
HTML Entity (decimal) | |
HTML Entity (hex) | |
HTML Entity (named) | |
C/C++/Java source code |
HTML Symbol Entities
There are many mathematical, technical, and currency symbols, are not present on a normal keyboard. To add such symbols to an HTML page, you can use an HTML entity name. If no entity name exists, you can use an entity number, a decimal, or hexadecimal reference.
How to add special characters in html
- Look up the character code you need.
- Place the code in your document.
You can use the friendly name if there is one, the decimal numeric code, or the hexadecimal numeric code.
eg. © - copyright © or © or © - Add the unicode declaration to your document head.
Simply add the following meta tag anywhere inside the <head> of your web page. This will insure that your special characters display correctly.
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
Visit this page on your smartphone
Scan this QR-code with your smartphone
Share to your good friends
Welcome to share this webpage to your friends, if you think they will like it.