HTML Symbols

Characters not on the keyboard can also be represented by entities.

HTML Symbol Entities

HTML entities were explained in the previous chapter.

Many mathematical, technical, and currency symbols do not exist on a standard keyboard.

To add such symbols to an HTML page, you can use the HTML entity name (HTML entity name).

If the entity name does not exist, you can use the entity number, decimal or hexadecimal reference.

Example

<p>I will display &</p>
<p>I will display €</p>
<p>I will display €</p>

It will be displayed as:

I will display €
I will display €
I will display €

Try it yourself

HTML supports some mathematical symbols

Character Number Entity Description
FOR ALL
PARTIAL DIFFERENTIAL
THERE EXISTS
EMPTY SETS
NABLA
ELEMENT OF
NOT AN ELEMENT OF
CONTAINS AS MEMBER
N-ARY PRODUCT
N-ARY SUMMATION

Complete mathematical reference

HTML supports some Greek letters

Character Number Entity Description
Α Α Α GREEK CAPITAL LETTER ALPHA
Β Β Β GREEK CAPITAL LETTER BETA
Γ Γ Γ GREEK CAPITAL LETTER GAMMA
Δ Δ Δ GREEK CAPITAL LETTER DELTA
Ε Ε Ε GREEK CAPITAL LETTER EPSILON
Ζ Ζ Ζ GREEK CAPITAL LETTER ZETA

Complete Greek Reference

Some other entities supported by HTML.

Character Number Entity Description
© © © COPYRIGHT SIGN
® ® ® REGISTERED SIGN
EURO SIGN
TRADEMARK
LEFTWARDS ARROW
UPWARDS ARROW
RIGHTWARDS ARROW
DOWNWARDS ARROW
BLACK SPADE SUIT
BLACK CLUB SUIT
BLACK HEART SUIT
BLACK DIAMOND SUIT

Complete Currency Reference

Complete Arrow Reference

Complete Symbol Reference