HTML Symbols
Learn how to display special symbols and characters in HTML
🔣 What are HTML Symbols?
HTML symbols are special characters that cannot be typed directly on a keyboard. They are displayed using entity names or numbers.
<!-- Using entity names -->
<p>Copyright © 2024</p>
<p>Price: $99</p>
Output:
Copyright © 2024
Price: $99
Common HTML Symbols
Copyright & Legal
Display copyright and legal symbols
© © (Copyright)
® ® (Registered)
™ ™ (Trademark)
§ § (Section)
Currency Symbols
Display various currency symbols
€ € (Euro)
£ £ (Pound)
¥ ¥ (Yen)
¢ ¢ (Cent)
₹ ₹ (Rupee)
Mathematical Symbols
Display math and scientific symbols
± ± (Plus-minus)
× × (Multiply)
÷ ÷ (Divide)
≠ ≠ (Not equal)
≤ ≤ (Less equal)
≥ ≥ (Greater equal)
Arrow Symbols
Directional and navigation arrows
← ← (Left arrow)
→ → (Right arrow)
↑ ↑ (Up arrow)
↓ ↓ (Down arrow)
↔ ↔ (Left-right)
↵ ↵ (Return)
Card & Game Symbols
Playing card and gaming symbols
♠ ♠ (Spades)
♣ ♣ (Clubs)
♥ ♥ (Hearts)
♦ ♦ (Diamonds)
★ ★ (Star)
☆ ☆ (Empty star)
Music & Special
Musical notes and special characters
♪ ♪ (Musical note)
♫ ♫ (Beamed notes)
♬ ♬ (Beamed 16th)
♥ ♥ (Heart)
☀ ☀ (Sun)
☂ ☂ (Umbrella)
Greek Letters
Greek alphabet for scientific use
α α (Alpha)
β β (Beta)
γ γ (Gamma)
δ δ (Delta)
π π (Pi)
ω ω (Omega)
Color Codes
HTML color representation methods
<!-- Hex colors -->
<span style="color: #FF0000">Red</span>
<span style="color: #00FF00">Green</span>
<span style="color: #0000FF">Blue</span>
<!-- RGB colors -->
<span style="color: rgb(255,0,0)">Red</span>
<span style="color: rgb(0,255,0)">Green</span>
<!-- Named colors -->
<span style="color: crimson">Crimson</span>
<span style="color: teal">Teal</span>
🔹 HTML Color Codes Reference
Complete guide to using colors in HTML:
<!-- Primary Colors -->
<div style="background: #FF0000; color: white; padding: 10px;">Red #FF0000</div>
<div style="background: #00FF00; color: black; padding: 10px;">Green #00FF00</div>
<div style="background: #0000FF; color: white; padding: 10px;">Blue #0000FF</div>
<!-- Popular Web Colors -->
<div style="background: #FF6B6B; color: white; padding: 5px;">Coral #FF6B6B</div>
<div style="background: #4ECDC4; color: white; padding: 5px;">Turquoise #4ECDC4</div>
<div style="background: #45B7D1; color: white; padding: 5px;">Sky Blue #45B7D1</div>
<div style="background: #96CEB4; color: black; padding: 5px;">Mint #96CEB4</div>
<div style="background: #FFEAA7; color: black; padding: 5px;">Peach #FFEAA7</div>
<!-- Gradient Examples -->
<div style="background: linear-gradient(45deg, #FF6B6B, #4ECDC4); color: white; padding: 10px;">
Gradient Background
</div>