View video tutorial

HTML Symbols

HTML

HTML symbols (like , , ) can be used in html page by entity symbol. We can add symbols and special characters to HTML using character entities, which are special codes that web browsers translate into the correct symbols.

Entity Symbol


➔ There are many symbols that are not present on keyboard, can displayed by entity character of symbol.

➔ Entity name is enclosed by beginning with ampersand (&) and ends with a semicolon (;) ie: &#prod; is for symbol

➔ Entity number(Decimal or Hexadecimal) can also be used instead of entity name. Ex: &8719; or ∏ for character.

There are two primary ways to write character entities in your code.


Named entity: This uses symbol entity name. More readable and easier to remember for common characters. Example: For the copyright © symbol, we would type ©.

Numeric entity: This uses decimal or hexadecimal numbers. Numeric codes are often more reliable and supported universally. Example: For the copyright © symbol, you would type © in decimal. For the copyright © symbol, you would type © in Hexadecimal.

Learning with HTML Editor "Try it Now"

You can edit the HTML code and view the result using online editor.

Example

<!DOCTYPE html>
<html>
   <head>
      <title>HTML Entity Symbol</title>
   </head>
   <body>
        <p>Example: HTML Entity Symbol</p>
       <h1>&prod; is the entity name for ∏ symbol.</h1>
       <h1>&#8719; is the entity number for ∏ symbol.</h1>
   </body>
</html>
Try it Now »

Click on the "Try it Now" button to see how it works.


HTML UTF-8 Symbols

UTF-8 Currency Symbols

Hex 20A0-20CF / Dec 8352-8399

Char Dec Hex Name
8352 20A0 EURO-CURRENCY SIGN
8353 20A1 COLON SIGN
8354 20A2 CRUZEIRO SIGN
8355 20A3 FRENCH FRANC SIGN
8356 20A4 LIRA SIGN
8357 20A5 MILL SIGN
8358 20A6 NAIRA SIGN
8359 20A7 PESETA SIGN
8360 20A8 RUPEE SIGN
8361 20A9 WON SIGN
8362 20AA NEW SHEQEL SIGN
8363 20AB DONG SIGN
8364 20AC EURO SIGN &euro;
8365 20AD KIP SIGN
8366 20AE TUGRIK SIGN
8367 20AF DRACHMA SIGN
8368 20B0 GERMAN PENNY SYMBOL
8369 20B1 PESO SIGN
8370 20B2 GUARANI SIGN
8371 20B3 AUSTRAL SIGN
8372 20B4 HRYVNIA SIGN
8373 20B5 CEDI SIGN
8374 20B6 LIVRE TOURNOIS SIGN
8375 20B7 SPESMILO SIGN
8376 20B8 TENGE SIGN
8377 20B9 INDIAN RUPEE SIGN
8378 20BA TURKISH LIRA SIGN
8379 20BB NORDIC MARK SIGN
8380 20BC MANAT SIGN
8381 20BD RUBLE SIGN
8382 20BE LARI SIGN
8383 20BF BITCOIN SIGN