HTML Symbols
HTML Symbols
HTML Symbols
Mathematical, technical, currency and other symbols are not available on general keyboards, to solve this problem HTML provides an alternative option to add these symbols on the web page using HTML Symbols.
-
We can add these HTML symbols by entity name, decimal or hexadecimal reference.
Example:
<p>Sum symbol by entity name ∑</p>
<p>Copyright symbol by entity name ©</p>
<p>Euro Currency symbol by entity name €</p>
<!--By entity name-->
Example Explanation:
In the above, we have shown an example of HTML Symbols by using entity name.
Run the code to see the effect.
Example:
<p>Sum symbol by decimal number ∑</p>
<p>Copyright symbol by decimal number ©</p>
<p>Euro Currency symbol by decimal number €</p>
Example Explanation:
In the above, we have shown an example of HTML Symbols by using decimal number.
Run the code to see the effect.
Example:
<p>Sum symbol by hexadecimal number ∑</p>
<p>Cloud symbol by hexadecimal number ਩</p>
<p>Euro Currency symbol by hexadecimal number AC;</p>
<!--By hexadecimal number-->
Example Explanation:
In the above, we have shown an example of HTML Symbols by using hexadecimal number.
Run the code to see the effect.