Symbols or letters that are not present on your keyboard can be added to HTML using 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 the entity name or the entity number (a decimal or a hexadecimal reference) for the symbol:
Display the euro sign:
<p>I will display €</p>
<p>I will display €</p>
<p>I will display €</p>
Char | Number | Entity | Description | |
---|---|---|---|---|
∀ | ∀ | ∀ | For all | Try it » |
∂ | ∂ | ∂ | Partial differential | Try it » |
∃ | ∃ | ∃ | There exists | Try it » |
∅ | ∅ | ∅ | Empty sets | Try it » |
∇ | ∇ | ∇ | Nabla | Try it » |
∈ | ∈ | ∈ | Element of | Try it » |
∉ | ∉ | ∉ | Not an element of | Try it » |
∋ | ∋ | ∋ | Contains as member | Try it » |
∏ | ∏ | ∏ | N-ary product | Try it » |
∑ | ∑ | ∑ | N-ary summation | Try it » |
Char | Number | Entity | Description | |
---|---|---|---|---|
Α | Α | Α | GREEK ALPHA | Try it » |
Β | Β | Β | GREEK BETA | Try it » |
Γ | Γ | Γ | GREEK GAMMA | Try it » |
Δ | Δ | Δ | GREEK DELTA | Try it » |
Ε | Ε | Ε | GREEK EPSILON | Try it » |
Ζ | Ζ | Ζ | GREEK ZETA | Try it » |
Char | Number | Entity | Description | |
---|---|---|---|---|
© | © | © | COPYRIGHT | Try it » |
® | ® | ® | REGISTERED | Try it » |
€ | € | € | EURO SIGN | Try it » |
™ | ™ | ™ | TRADEMARK | Try it » |
← | ← | ← | LEFT ARROW | Try it » |
↑ | ↑ | ↑ | UP ARROW | Try it » |
→ | → | → | RIGHT ARROW | Try it » |
↓ | ↓ | ↓ | DOWN ARROW | Try it » |
♠ | ♠ | ♠ | SPADE | Try it » |
♣ | ♣ | ♣ | CLUB | Try it » |
♥ | ♥ | ♥ | HEART | Try it » |
♦ | ♦ | ♦ | DIAMOND | Try it » |
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!