Horje
What is 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:





Related Articles
What is HTML Symbols HTML Symbols
Some Mathematical Symbols Supported by HTML HTML Symbols
Some Greek Letters Supported by HTML HTML Symbols
Some Other Entities Supported by HTML HTML Symbols

Single Articles
Display the euro sign:HTML Symbols

Read Full:
HTML Symbols
Category:
Web Tutorial
Sub Category:
HTML Symbols
Uploaded:
1 year ago
Uploaded by:
Admin
Views:
79


Reffered: https://www.w3schools.com/html/html_symbols.asp

Share on: