Smybols or letters that aren't present on your keyboard can be added to HTML using 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:
Display the euro sign:
<p>I will disply & euro;</p>I will display €
I will display €
I will display €
Char | Number | Entity | Description |
---|---|---|---|
∀ | & #8704; | & forall | For 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 |
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 |
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 |