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 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

  1. Look up the character code you need.
  2. 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. ® - registered trade mark ® or ® or ®
    <p>®<p> <p>&#174;<p> <p>&#xAE;<p>
  3. 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" />

Usage Example

To add a trade mark sign to an HTML page, you can use the entity name or the entity number (a decimal or a hexadecimal reference) for the symbol.

HTML soruce code

<p>entity name : trade mark &trade;</p>
<p>decimal value : trade mark &#8482;</p>
<p>hexadecimal value : trade mark &#x2122;</p>

HTML display

entity name : trade mark ™
decimal value : trade mark ™
hexadecimal value : trade mark ™

JavaScript source code

alert("trade mark \u2122");

HTML Symbols

Emoticons Emoji Keyboard

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.


HTML Symbols | Custom Products
Custom Clothing | Custom Umbrella