HTML ENTITIES
In this tutorial, we will learn about HTML entities. We will see where can we use them and will see a list of HTML entities.
What is HTML Entity?
HTML entity is a special character that is used to represent a character in HTML. For example, & is used to represent the ampersand character (&).
These are used to display some reserved characters like angle brackets, quotes, etc. in HTML. HTML entities start with an ampersand (&) and end with a semicolon (;).
Why do we use HTML entities?
Understand it with an example. Suppose you want to display HTML code on the screen. If you write HTML code in an HTML file and expect to display it on screen then this is not going to happen. Instead, the browser will parse the HTML code and display output on the screen.
Here comes the use of HTML entities. Use < and > to display angle brackets this way browser will not parse the HTML code and display it on screen.
Example
If you want to write this 👇 on screen
<p>Learning HTML</p>
<p>Then you have to write this 👇.</p>
<p>Learning HTML.</p>
Try It
HTML Entities List
Here is a list of HTML entities.
Entity Number | Symbol | Entity Name | Description |
---|---|---|---|
  | Space | ||
! | & | Exclamation mark | |
" | " | " | Double quotation mark |
# | # | Number sign | |
$ | $ | Dollar sign | |
% | % | Percent sign | |
& | & | & | Ampersand |
' | ' | ' | Single quotation mark |
( | ( | < | Left angle bracket |
) | ) | > | Right angle bracket |
* | * | * | Asterisk |
+ | + | + | Plus sign |
, | , | , | Comma |
- | - | − | Hyphen-minus |
. | . | . | Full stop |
/ | / | / | Solidus |
0 | 0 | Zero | |
1 | 1 | One | |
2 | 2 | Two | |
3 | 3 | Three | |
4 | 4 | Four | |
5 | 5 | Five | |
6 | 6 | Six | |
7 | 7 | Seven | |
8 | 8 | Eight | |
9 | 9 | Nine | |
: | : | : | Colon |
; | ; | ; | Semicolon |
< | < | < | Less-than sign |
= | = | = | Equals sign |
> | > | > | Greater-than sign |
? | ? | ? | Question mark |
@ | @ | @ | Commercial at |
A | A | Latin capital letter A with acute | |
B | B | Latin capital letter B with bumpy | |
C | C | Latin capital letter C with cedilla | |
D | D | Latin capital letter D with double | |
E | E | Latin capital letter E with acute | |
F | F | Latin capital letter F with hook | |
G | G | Latin capital letter G with | |
H | H | Latin capital letter H with | |
I | I | Latin capital letter I with | |
J | J | Latin capital letter J with | |
K | K | Latin capital letter K with | |
L | L | Latin capital letter L with | |
M | M | Latin capital letter M with | |
N | N | Latin capital letter N with tilde | |
O | O | Latin capital letter O with | |
P | P | Latin capital letter P with | |
Q | Q | Latin capital letter Q with | |
R | R | Latin capital letter R with | |
S | S | Latin capital letter S with | |
T | T | Latin capital letter T with | |
U | U | Latin capital letter U with | |
V | V | Latin capital letter V with | |
W | W | Latin capital letter W with | |
X | X | Latin capital letter X with | |
Y | Y | Latin capital letter Y with | |
Z | Z | Latin capital letter Z with | |
[ | [ | [ | Left square bracket |
\ | \ | &backslash; | Backslash |
] | ] | ] | Right square bracket |
^ | ^ | ^ | Caret |
_ | _ | _ | Low line |
` | ` | ` | Grave accent |
a | a | Latin small letter a with | |
b | b | Latin small letter b with | |
c | c | Latin small letter c with | |
d | d | Latin small letter d with | |
e | e | Latin small letter e with | |
f | f | Latin small letter f with | |
g | g | Latin small letter g with | |
h | h | Latin small letter h with | |
i | i | Latin small letter i with | |
j | j | Latin small letter j with | |
k | k | Latin small letter k with | |
l | l | Latin small letter l with | |
m | m | Middle dot | |
n | n | Latin small letter n with | |
o | o | Latin small letter o with | |
p | p | Latin small letter o with | |
q | q | Quotation mark | |
r | r | Latin small letter r with | |
s | s | Latin small letter s with | |
t | t | Latin small letter t with | |
u | u | Latin small letter u with | |
v | v | Latin small letter u with | |
w | w | Latin small letter w with | |
x | x | Latin small letter x with | |
y | y | Latin small letter y with | |
z | z | Latin small letter z with | |
{ | { | { | Left curly bracket |
| | | | | | Vertical line |
} | } | } | Right curly bracket |
~ | ~ | ˜ | Tilde |
 | DEL | Delete | |
€ | € | € | Euro sign |
 | | Unicode nonbreaking space | |
‚ | ‚ | Single low-9 quotation mark | |
ƒ | ƒ | ƒ | Latin small letter f with hook |
„ | „ | „ | Double low-9 quotation mark |
… | … | … | Horizontal ellipsis |
† | † | † | dagger |
‡ | ‡ | ‡ | Double dagger |
ˆ | ˆ | ˆ | Modifier letter circumflex accent |
‰ | ‰ | ‰ | Per mille sign |
Š | Š | Š | Latin capital letter S with caron |
‹ | ‹ | Single left-pointing angle quotation mark | |
Œ | Œ | Œ | Latin capital ligature OE |
 | ‘ | ‘ | Left single quotation mark |
Ž | ‘ | ’ | Right single quotation mark |
 | “ | “ | Left double quotation mark |
 | ” | ” | Right double quotation mark |
‘ | • | • | Bullet |
’ | ‹ | Single left-pointing angle quotation mark | |
“ | › | Single right-pointing angle quotation mark | |
” | œ | œ | Latin small ligature oe |
• | ‘ | ‘ | Left single quotation mark |
– | ’ | ’ | Right single quotation mark |
— | “ | “ | Left double quotation mark |
˜ | ” | ” | Right double quotation mark |
™ | – | – | En dash |
š | — | — | Em dash |
› | ˜ | ˜ | Small tilde |
œ | ‾ | ‾ | Overline |
 | Š | š | Latin small letter S with caron |
ž | Œ | œ | Latin small ligature oe |
Ÿ | Ž | Ž | Latin capital letter Z with caron |
  | | Non-breaking space | |
¡ | ¡ | ¡ | Inverted exclamation mark |
¢ | ¢ | ¢ | Cent sign |
£ | £ | £ | Pound sign |
¤ | ¤ | ¤ | Currency sign |
¥ | ¥ | ¥ | Yen sign |
¦ | ¦ | ¦ | Broken vertical bar |
§ | § | § | Section sign |
¨ | ¨ | ¨ | Spacing diaeresis |
© | © | © | Copyright sign |
ª | ª | ª | Feminine ordinal indicator |
« | « | « | Left-pointing double |
¬ | ¬ | ¬ | Not sign |
­ | | ­ | Soft hyphen |
® | ® | ® | Registered sign |
¯ | ¯ | ¯ | Spacing macron |
° | ° | ° | Degree sign |
± | ± | ± | Plus-or-minus sign |
² | ² | ² | Superscript two |
³ | ³ | ³ | Superscript three |
´ | ´ | ´ | Spacing acute |
µ | µ | µ | Micro sign |
¶ | ¶ | ¶ | Pilcrow sign |
· | · | · | Middle dot |
À | À | À | Capital A, grave accent |
Á | Á | Á | Capital A, acute accent |
 |  |  | Capital A, circumflex accent |
à | à | à | Capital A, tilde |
Ä | Ä | Ä | Capital A, umlaut mark |
Å | Å | Å | Capital A, ring |
Æ | Æ | Æ | Capital AE diphthong |
Ç | Ç | Ç | Capital C, cedilla |
È | È | È | Capital E, grave accent |
É | É | É | Capital E, acute accent |
Ê | Ê | Ê | Capital E, circumflex accent |
Ë | Ë | Ë | Capital E, umlaut mark |
Ì | Ì | Ì | Capital I, grave accent |
Í | Í | Í | Capital I, acute accent |
Î | Î | Î | Capital I, circumflex accent |
Ï | Ï | Ï | Capital I, umlaut mark |
Ð | Ð | Ð | Capital Eth, Icelandic |
Ñ | Ñ | Ñ | Capital N, tilde |
Ò | Ò | Ò | Capital O, grave accent |
Ó | Ó | Ó | Capital O, acute accent |
Ô | Ô | Ô | Capital O, circumflex accent |
Õ | Õ | Õ | Capital O, tilde |
Ö | Ö | Ö | Capital O, umlaut mark |
× | × | × | Multiplication sign |
Ø | Ø | Ø | Capital O, slash |
Ù | Ù | Ù | Capital U, grave accent |
Ú | Ú | Ú | Capital U, acute accent |
Û | Û | Û | Capital U, circumflex accent |
Ü | Ü | Ü | Capital U, umlaut mark |
Ý | Ý | Ý | Capital Y, acute accent |
Þ | Þ | Þ | Capital THORN, Icelandic |
ß | ß | ß | Small sharp s, German |
à | à | à | Small a, grave accent |
á | á | á | Small a, acute accent |
â | â | â | Small a, circumflex accent |
ã | ã | ã | Small a, tilde |
ä | ä | ä | Small a, umlaut mark |
å | å | å | Small a, ring |
æ | æ | æ | Small ae diphthong |
ç | ç | ç | Small c, cedilla |
è | è | è | Small e, grave accent |
é | é | é | Small e, acute accent |
ê | ê | ê | Small e, circumflex accent |
ë | ë | ë | Small e, umlaut mark |
ì | ì | ì | Small i, grave accent |
í | í | í | Small i, acute accent |
î | î | î | Small i, circumflex accent |
ï | ï | ï | Small i, umlaut mark |
ð | ð | ð | Small eth, Icelandic |
ñ | ñ | ñ | Small n, tilde |
ò | ò | ò | Small o, grave accent |
ó | ó | ó | Small o, acute accent |
ô | ô | ô | Small o, circumflex accent |
õ | õ | õ | Small o, tilde |
ö | ö | ö | Small o, umlaut mark |
÷ | ÷ | ÷ | Division sign |
ø | ø | ø | Small o, slash |
ù | ù | ù | Small u, grave accent |
ú | ú | ú | Small u, acute accent |
û | û | û | Small u, circumflex accent |
ü | ü | ü | Small u, umlaut mark |
ý | ý | ý | Small y, acute accent |
þ | þ | þ | Small thorn, Icelandic |
ÿ | ÿ | ÿ | Small y, umlaut mark |
Œ | Œ | Œ | Capital OE ligature |
œ | œ | œ | Small oe ligature |
Š | Š | Š | Capital S, caron accent |
š | š | š | Small s, caron accent |
Ÿ | Ÿ | Ÿ | Capital Y, umlaut mark |
ƒ | ƒ | ƒ | Small f, hook |
ˆ | ˆ | ˆ | Circumflex accent |
˜ | ˜ | ˜ | Small tilde |
Α | Α | Α | Capital Alpha |
Β | Β | Β | Capital Beta |
Γ | Γ | Γ | Capital Gamma |
Δ | Δ | Δ | Capital Delta |
Ε | Ε | Ε | Capital Epsilon |
Ζ | Ζ | Ζ | Capital Zeta |
Η | Η | Η | Capital Eta |
Θ | Θ | Θ | Capital Theta |
Ι | Ι | Ι | Capital Iota |
Κ | Κ | Κ | Capital Kappa |
Λ | Λ | Λ | Capital Lambda |
Μ | Μ | Μ | Capital Mu |
Ν | Ν | Ν | Capital Nu |
Ξ | Ξ | Ξ | Capital Xi |
Ο | Ο | Ο | Capital Omicron |
Π | Π | Π | Capital Pi |
Ρ | Ρ | Ρ | Capital Rho |
Σ | Σ | Σ | Capital Sigma |
Τ | Τ | Τ | Capital Tau |
Υ | Υ | Υ | Capital Upsilon |
Φ | Φ | Φ | Capital Phi |
Χ | Χ | Χ | Capital Chi |
Ψ | Ψ | Ψ | Capital Psi |
Ω | Ω | Ω | Capital Omega |
α | α | α | Small alpha |
β | β | β | Small beta |
γ | γ | γ | Small gamma |
δ | δ | δ | Small delta |
ε | ε | ε | Small epsilon |
ζ | ζ | ζ | Small zeta |
η | η | η | Small eta |
θ | θ | θ | Small theta |
ι | ι | ι | Small iota |
κ | κ | κ | Small kappa |
λ | λ | λ | Small lambda |
μ | μ | μ | Small mu |
ν | ν | ν | Small nu |
ξ | ξ | ξ | Small xi |
ο | ο | ο | Small omicron |
π | π | π | Small pi |
ρ | ρ | ρ | Small rho |
ς | ς | ς | Small final sigma |
σ | σ | σ | Small sigma |
τ | τ | τ | Small tau |
υ | υ | υ | Small upsilon |
φ | φ | φ | Small phi |
χ | χ | χ | Small chi |
ψ | ψ | ψ | Small psi |
ω | ω | ω | Small omega |
ϑ | ϑ | ϑ | Small Theta |
ϒ | ϒ | ϒ | Small Upsilon |
ϖ | ϖ | ϖ | Small Pi |