Menu

HTML Symbols


Previous


Next

Symbols or letters that are not present on your keyboard can be added to HTML 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

<!DOCTYPE html>
<html>
<body>

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

</body>
</html>

 

Some Mathematical Symbols Supported by HTML

Char    Number      Entity           Description

&#8704; &forall; For all  
&#8706; &part; Partial differential  
&#8707; &exist; There exists  
&#8709; &empty; Empty sets  
&#8711; &nabla; Nabla  
&#8712; &isin; Element of  
&#8713; &notin; Not an element of  
&#8715; &ni; Contains as member  
&#8719; &prod; N-ary product  
&#8721; &sum; N-ary summation

Some Greek Letters Supported by HTML

Char    Number                                         Entity                                  Description

Α &#913; &Alpha; GREEK ALPHA  
Β &#914; &Beta; GREEK BETA  
Γ &#915; &Gamma; GREEK GAMMA  
Δ &#916; &Delta; GREEK DELTA  
Ε &#917; &Epsilon; GREEK EPSILON  
Ζ &#918; &Zeta; GREEK ZETA

Some Other Entities Supported by HTML

Char  Number          Entity                  Description

© &#169; &copy; COPYRIGHT  
® &#174; &reg; REGISTERED  
&#8364; &euro; EURO SIGN  
&#8482; &trade; TRADEMARK  
&#8592; &larr; LEFT ARROW  
&#8593; &uarr; UP ARROW  
&#8594; &rarr; RIGHT ARROW  
&#8595; &darr; DOWN ARROW  
&#9824; &spades; SPADE  
&#9827; &clubs; CLUB  
&#9829; &hearts; HEART  
&#9830; &diams;  DIAMOND


Previous


Next

Scroll to Top