Symbols in HTML, often referred to as HTML entities or character references, are special codes used to represent characters that have special meanings in HTML or are not easily typed on a standard keyboard. These entities begin with an ampersand (&
) and end with a semicolon (;
).
Here's a comprehensive list of common HTML symbols and entities:
Commonly Used Symbols
Quotation Marks and Apostrophes
"
- " (double quote)'
- ' (apostrophe, single quote)
<p>This is a "quoted" text.</p> <p>It's a nice day.</p>
Less Than and Greater Than
<
- < (less than)>
- > (greater than)
<p>Use < and > to represent less than and greater than.</p>
Ampersand
&
- & (ampersand)
<p>Tom & Jerry is a popular cartoon.</p>
Non-breaking Space
- (non-breaking space)
<p>This space will not break.</p>
Special Characters
©
- © (copyright)®
- ® (registered trademark)™
- ™ (trademark)
<p>© 2024 Your Company</p> <p>Product® and Service™ are trademarks.</p>
Mathematical Symbols
±
- ± (plus-minus)×
- × (multiplication sign)÷
- ÷ (division sign)=
- = (equals sign)≠
- ≠ (not equal to)<
- < (less than)>
- > (greater than)
<p>10 ± 2 = 8 to 12</p> <p>6 × 7 = 42</p> <p>15 ÷ 3 = 5</p> <p>5 ≠ 10</p>
Currency Symbols
$
- $ (dollar)€
- € (euro)£
- £ (pound)¥
- ¥ (yen)
<p>The price is $20.</p> <p>It costs €15.</p> <p>The fee is £10.</p> <p>The amount is ¥1000.</p>
Miscellaneous Symbols
§
- § (section sign)¶
- ¶ (paragraph sign)•
- • (bullet)…
- … (ellipsis)′
- ′ (prime)″
- ″ (double prime)
<p>Section §1.2.3</p> <p>Paragraph ¶1</p> <ul> <li>• First item</li> <li>• Second item</li> </ul> <p>To be continued…</p> <p>3′ (feet) and 4″ (inches)</p>
Greek Letters
α
- αβ
- βγ
- γδ
- δε
- εζ
- ζη
- ηθ
- θι
- ικ
- κλ
- λμ
- μν
- νξ
- ξο
- οπ
- πρ
- ρσ
- στ
- τυ
- υφ
- φχ
- χψ
- ψω
- ω
<p>α β γ δ ε</p>
Arrows
←
- ← (left arrow)↑
- ↑ (up arrow)→
- → (right arrow)↓
- ↓ (down arrow)↔
- ↔ (left-right arrow)
<p>← Left ↑ Up → Right ↓ Down ↔ Left-Right</p>