HTML Symbols

 Symbols that are not present on your keyboard can also be added by using entities.


HTML Symbol Entities

HTML entities were described in the previous chapter.

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

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.

Example

Display the euro sign, €, with an entity name, a decimal, and a hexadecimal value:

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

Will display as:

I will display €
I will display €
I will display €
Try it Yourself »

Some Mathematical Symbols Supported by HTML

CharNumberEntityDescriptionTry it
&#8704;&forall;FOR ALLTry it »
&#8706;&part;PARTIAL DIFFERENTIALTry it »
&#8707;&exist;THERE EXISTSTry it »
&#8709;&empty;EMPTY SETSTry it »
&#8711;&nabla;NABLATry it »
&#8712;&isin;ELEMENT OFTry it »
&#8713;&notin;NOT AN ELEMENT OFTry it »
&#8715;&ni;CONTAINS AS MEMBERTry it »
&#8719;&prod;N-ARY PRODUCTTry it »
&#8721;&sum;N-ARY SUMMATIONTry it »







Post a Comment

1 Comments