HTML Symbols

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 an HTML entity name.

If no entity name exists, you can use an entity number, a decimal, or hexadecimal reference.

Example

<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 €

Some Mathematical Symbols Supported by HTML

Char Number Entity Description
&#8704; &forall; FOR ALL
&8706; &part; PARTIAL DIFFERENTIAL
&8707; &exist; THERE EXISTS

Some Greek Letters Supported by HTML

Char Number Entity Description
Α &#913; &Alpha; GREEK CAPITAL LETTER ALPHA
B &914; &Beta; GREEK CAPITAL LETTER BETA

Some Other Entities Supported by HTML

Char Number Entity Description
© &#169; &copy; COPYRIGHT SIGN
&8364; &euro; EURO SIGN