HTML Symbols
In an HTML document the special characters or the reserved characters cannot be typed through the keyboard rather we use the character entity or character reference.
A character can also be displayed using the decimal and hex codes of that character. For example, to display ß we can use its decimal, hex and entity reference at the same time. To illustrate this consider the following example:
EXAMPLE
<p> Displaying ß ; using the Decimal code </p>
<p> Displaying &#df ; using the Hex code </p>
<p> Displaying ß ; using the Entity reference </p>
This will generate the following result:
Method to display the mathematical Symbols
Character | Decimal Number | Character Entity | |
Pi (Π) | Π | Π | |
Sigma (Σ) | Σ | Σ | |
Phi (Φ) | Φ | Φ | |
Theta (θ) | θ | θ | |
iota (ι) | ι | ι | |
Element of (∈) | ∈ | ∈ | |
Not an element of (∉) | ∉ | ∉ | |
Radical (√) | √ | √ | |
Congruent to (≅) | ≅ | ≅ | |
Equivalent to (≡) | ≡ | ≡ | |
|
⊂ | ⊂ |
Method to display alpha, beta, gamma etc. characters
Character | Decimal Number | Character Entity |
Alpha (α) | α | α |
Beta (β) | β | β |
Gamma (γ) | γ | γ |
Delta (δ) | δ | δ |
Epsilon (ε) | ε | ε |
zeta (ζ) | ζ | ζ |
eta (η) | η | &eata ; |
Some other HTML characters
Character | Decimal Number | Character Entity |
Copy (©) | © | © |
® | ® | ® |
leftwards arrow (←) | ← | ← |
rightwards arrow (→ ) | → ; | → |
upwards arrow (↑) | ↑ | &uarr ; |
downwards arrow (↓) | ↓ | ↓ |
Black spade suit (♠) | ♠ | ♠ |
Black club suit (♣) | ♣ | &clubs ; |
Black heart suit (♥) | ♥ ; | ♥ |
Black diamond suit (♦) | ♦ | ♦ |