Horje
HTML Symbols

Symbols or letters that are not present on your keyboard can be added to HTML using entities.

 

HTML entities were described in the previous chapter.

Many mathematical, technical, and currency symbols, are not present on a normal keyboard.


Display the euro sign:

To add such symbols to an HTML page, you can use the entity name or the entity number (a decimal or a hexadecimal reference) for the symbol:
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<p>I will display &euro;</p>
<p>I will display &#8364;</p>
<p>I will display &#x20AC;</p>

</body>
</html>

Output should be:

Display the euro sign:





Category:
Web Tutorial
Sub Category:
HTML Symbols
Uploaded by:
Admin


Read Article
https://horje.com/learn/1434/reference