Smybols or letters that aren't present on your keyboard can be added to HTML using entities.

HTML Symbols Entities

11-17-24

HTML entities weredescribed in the previous chapter. Many mathamatical, techical, and currency smybols, aren't 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 symbols:

Example

Display the euro sign:

<p>I will disply & 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 €

Some Mathematical Symbols Supported by HTML

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

Some Greek Letters Supported by HTML

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

Some Other Entities Supported by HTML

CharNumberEntityDescription
©& #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