This article will introduce some common HTML character entities
We know that in HTML certain characters are reserved and cannot be used directly
For example, if you enter multiple consecutive Spaces in HTML, you may end up with only one space
If we want to display reserved characters correctly, we must use character entities in our HTML source code
Some commonly used character entities are listed below, which are recorded here for future reference
The name of the character | Character display | The entity name | The entity number |
---|---|---|---|
The blank space | |
The & # 160; |
|
Left single quotes | ‘ | ‘ |
The & # 8216; |
The right of single quotes | ‘ | ’ |
The & # 8217; |
The left double quotation marks | “ | “ |
The & # 8220; |
Right double quotation marks | “ | ” |
The & # 8221; |
quotes | “ | " |
& # 34; |
apostrophe | ‘ | ' |
& # 39; |
lambda | Lambda. | λ |
The & # 923; |
alpha | Alpha. | α |
The & # 945; |
beta | Beta. | β |
The & # 946; |
gamma | gamma | γ |
The & # 947; |
delta | Delta t. | δ |
The & # 948; |
epsilon | Epsilon. | ε |
The & # 949; |
zeta | zeta | ζ |
The & # 950; |
eta | eta | η |
The & # 951; |
theta | Theta. | θ |
The & # 952; |
sigma | sigma | σ |
The & # 963; |
phi | phi | φ |
The & # 966; |
psi | Bits of | ψ |
The & # 968; |
omega | Omega. | ω |
The & # 969; |
less than | < | < |
& # 60; |
greater than | > | > |
The & # 62; |
for all | ∀ | ∀ |
The & # 8704; |
exists | ∃ | &exists; |
The & # 8706; |
prod | ∏ | ∏ |
The & # 8719; |
sum | ∑ | ∑ |
The & # 8721; |
square root | Square root | √ |
The & # 8730; |
integral | ∫ | ∫ |
The & # 8747; |
not equal | indicates | ≠ |
The & # 8800; |
equivalent | ≡ | ≡ |
The & # 8801; |
less or equal | Or less | ≤ |
The & # 8804; |
greater or equal | p | ≥ |
The & # 8805; |