![]() |
VOOZH | about |
HTML Entities are special codes used to display reserved characters, symbols, or invisible spaces in a webpage that cannot be typed directly or have special meanings in HTML (like <, >, or &).
Some commonly used symbols with their Entity name and Entity numbers are listed below:
Symbols | Description | Entity name | Entity Number |
|---|---|---|---|
| non-breaking space | |   | |
| < | less than | < | < |
| ® | registered trademark | ® | ® |
| © | copyright | © | © |
| € | euro | € | € |
| ¥ | yen | ¥ | ¥ |
| £ | pound | £ | £ |
| ¢ | cent | ¢ | ¢ |
| " | double quotation mark | " | " |
| & | ampersand | & | & |
| > | greater than | > | > |
| ∂ | PARTIAL DIFFERENTIAL | ∂ | ∂ |
| ∃ | THERE EXISTS | ∃ | ∃ |
| ∅ | EMPTY SETS | ∅ | ∅ |
| ∇ | NABLA | ∇ | ∇ |
| ∈ | ELEMENT OF | ∈ | ∈ |
| ∉ | NOT AN ELEMENT OF | ∉ | ∉ |
| + | PLUS SIGN | + | + |
| ∏ | N-ARY PRODUCT | ∏ | ∏ |
| ∑ | N-ARY SUMMATION | ∑ | ∑ |
| Α | Alpha | Α | Α |
| Β | Beta | Β | Β |
| Γ | Gamma | Γ | Γ |
| Δ | delta | Δ | Δ |
| Ε | Epsilon | Ε | Ε |
| Ζ | Zeta | Ζ | Ζ |
| ♥ | BLACK HEART SUIT = valentine | ♥ | ♥ |
| ♣ | BLACK CLUB SUIT = shamrock | ♣ | ♣ |
| ♠ | BLACK SPADE SUIT | ♠ | ♠ |
| ↓ | DOWNWARDS ARROW | ↓ | ↓ |
| → | RIGHTWARDS ARROW | → | → |
| ↑ | UPWARDS ARROW | ↑ | ↑ |
| ← | LEFTWARDS ARROW | ← | ← |
| ™ | TRADEMARK | ™ | ™ |
| ♦ | BLACK DIAMOND SUIT | ♦ | ♦ |
| ° | degree | ° | ° |
| ∞ | infinity | ∞ | ∞ |
| ‰ | per-mille | ‰ | ‰ |
| ⋅ | dot operator | ⋅ | ⋅ |
| ± | plus-minus | ± | ± |
| † | hermitian | ⊹ | ⊹ |
| - | minus sign | − | − |
| ¬ | not sign | ¬ | ¬ |
| % | percent sign | &percent; | % |
| f | Function | ƒ | ƒ |
| ∥ | parallel | ∥ | ∥ |
These characters are either reserved for HTML or those which are not present in the basic keyboard & can't use them directly. Some of the reserved characters representations are given below:
Reserved Character | Entity Name |
|---|---|
| & | & |
| < | < |
| > | > |
| “ | " |
Some characters that aren’t available directly on our keyboard, therefore such an entity can be used to represent it by using their entity number.
These keywords are directly not available to type, we need to specify their entity number. Here #x before the numbers represents the hexadecimal representation.
Character | Entities |
|---|---|
≥ | ≥ |
© | © |
€ | € |
∃ | ∃ |
Example
If we use to write 10 spaces in our text, then the browser will remove 9 of them. In order to add real spaces in our text, we can use the character entity.
Here are some examples:
| Mark | Character | Construct (HTML Code) | Final Result |
|---|---|---|---|
̀ | a | à | à |
́ | a | á | á |
̂ | a | â | â |
̃ | a | ã | ã |
̀ | O | Ò | Ò |
́ | O | Ó | Ó |
̂ | O | Ô | Ô |
̃ | O | Õ | Õ |