HTML symbols are special characters that can be displayed using HTML entities. These symbols include mathematical symbols, currency signs, arrows, geometric shapes, and various decorative characters. Understanding how to use symbols in HTML is essential for creating rich, visually appealing content that goes beyond standard text and punctuation.
Mathematical Symbols
Mathematical symbols are used to represent various mathematical concepts and operations in HTML.
Basic Mathematical Operations
Here are some common mathematical symbols:
<!-- Basic operations -->
<p>Plus: + or +</p> <!-- + or + -->
<p>Minus: −</p> <!-- â -->
<p>Multiplication: ×</p> <!-- Ă -->
<p>Division: ÷</p> <!-- Ă· -->
<p>Equals: = or =</p> <!-- = or = -->
<!-- Comparison operators -->
<p>Not equal: ≠</p> <!-- â -->
<p>Less than: <</p> <!-- < -->
<p>Greater than: ></p> <!-- > -->
<p>Less than or equal: ≤</p> <!-- †-->
<p>Greater than or equal: ≥</p> <!-- â„ -->
<p>Approximately: ≈</p> <!-- â -->
Advanced Mathematical Symbols
In addition to basic operations, HTML supports a wide range of advanced mathematical symbols:
<!-- Advanced symbols -->
<p>Infinity: ∞</p> <!-- â -->
<p>Summation: ∑</p> <!-- ÎŁ -->
<p>Product: ∏</p> <!-- â -->
<p>Integral: ∫</p> <!-- â« -->
<p>Square root: √</p> <!-- â -->
<p>Partial derivative: ∂</p> <!-- â -->
<p>Nabla: ∇</p> <!-- â -->
<p>There exists: ∃</p> <!-- â -->
<p>For all: ∀</p> <!-- â -->
Greek Letters
Greek letters are commonly used in mathematics and science to represent variables and constants.
Greek Alphabet
Here are the Greek letters available in HTML:
<!-- Greek letters (lowercase and uppercase) -->
<p>Alpha: α Α</p> <!-- α Î -->
<p>Beta: β Β</p> <!-- ÎČ Î -->
<p>Gamma: γ Γ</p> <!-- Îł Î -->
<p>Delta: δ Δ</p> <!-- ÎŽ Î -->
<p>Epsilon: ε Ε</p> <!-- Δ Î -->
<p>Zeta: ζ Ζ</p> <!-- ζ Î -->
<p>Eta: η Η</p> <!-- η Î -->
<p>Theta: θ Θ</p> <!-- Ξ Î -->
<p>Iota: ι Ι</p> <!-- Îč Î -->
<p>Kappa: κ Κ</p> <!-- Îș Î -->
<p>Lambda: λ Λ</p> <!-- λ Î -->
<p>Mu: μ Μ</p> <!-- ÎŒ Î -->
<p>Nu: ν Ν</p> <!-- Μ Î -->
<p>Xi: ξ Ξ</p> <!-- Ο Î -->
<p>Omicron: ο Ο</p> <!-- Îż Î -->
<p>Pi: π Π</p> <!-- Ï Î -->
<p>Rho: ρ Ρ</p> <!-- Ï ÎĄ -->
<p>Sigma: σ Σ</p> <!-- Ï ÎŁ -->
<p>Tau: τ Τ</p> <!-- Ï Î€ -->
<p>Upsilon: υ Υ</p> <!-- Ï
΄ -->
<p>Phi: φ Φ</p> <!-- Ï ÎŠ -->
<p>Chi: χ Χ</p> <!-- Ï Î§ -->
<p>Psi: ψ Ψ</p> <!-- Ï Îš -->
<p>Omega: ω Ω</p> <!-- Ï Î© -->
Mathematical Usage Examples
Here are some examples of how these symbols can be used in mathematical expressions:
<!-- Mathematical formulas -->
<p>Area of circle: A = πr²²</p>
<p>Euler's identity: e⊃i;π + 1 = 0</p>
<p>Pythagorean theorem: a²² + b²² = c²²</p>
<p>Summation: ∑⊂i=1⊃n; i²²</p>
<p>Integral: ∫⊂0⊃∞ e⊃-x²² dx = √π/2</p>
<p>Limit: lim⊂x→0∂f/∂x = f'(0)</p>
Currency Symbols
Currency symbols are used to represent different monetary units around the world.
Major Currency Symbols
Here are some of the most commonly used currency symbols in HTML:
<!-- Major currencies -->
<p>US Dollar: $ or $</p> <!-- $ -->
<p>Euro: €</p> <!-- ⏠-->
<p>British Pound: £</p> <!-- ÂŁ -->
<p>Japanese Yen: ¥</p> <!-- „ -->
<p>Chinese Yuan: ¥</p> <!-- „ -->
<p>Indian Rupee: ₹</p> <!-- âč -->
<p>Russian Ruble: ₽</p> <!-- ✠-->
<p>Swiss Franc: ₣</p> <!-- ⣠-->
Cryptocurrency and Other Symbols
In addition to traditional currency symbols, HTML also supports symbols for cryptocurrencies and other financial units:
<!-- Cryptocurrency symbols -->
<p>Bitcoin: ₿</p> <!-- âż -->
<p>Ethereum: ₰</p> <!-- Î -->
<!-- Other currency symbols -->
<p>Cent: ¢</p> <!-- Âą -->
<p>Generic currency: €</p> <!-- € -->
<p>Guarani: ₲</p> <!-- âČ -->
<p>Hryvnia: ₴</p> <!-- ⎠-->
<p>Kip: ₭</p> <!-- â -->
<p>Tugrik: ₮</p> <!-- âź -->
<p>Won: ₩</p> <!-- â© -->
Arrows and Directional Symbols
Arrows and directional symbols are used to indicate movement or relationships between elements.
Basic Arrows
Here are some common arrow symbols in HTML:
<!-- Simple arrows -->
<p>Left arrow: ←</p> <!-- â -->
<p>Right arrow: →</p> <!-- â -->
<p>Up arrow: ↑</p> <!-- â -->
<p>Down arrow: ↓</p> <!-- â -->
<p>Left-right arrow: ↔</p> <!-- â -->
<p>Up-down arrow: ↕</p> <!-- â -->
<p>Northwest arrow: ↖</p> <!-- â -->
<p>Northeast arrow: ↗</p> <!-- â -->
<p>Southwest arrow: ↙</p> <!-- â -->
<p>Southeast arrow: ↘</p> <!-- â -->
Advanced Arrows
HTML also includes a variety of advanced arrow symbols for more specific use cases:
<!-- Advanced arrows -->
<p>Long left arrow: ⟵</p> <!-- â” -->
<p>Long right arrow: ⟶</p> <!-- â¶ -->
<p>Double left arrow: ⇐</p> <!-- â -->
<p>Double right arrow: ⇒</p> <!-- â -->
<p>Double left-right arrow: ⇔</p> <!-- â -->
<p>Leftwards arrow with stroke: ⇐</p> <!-- â -->
<p>Rightwards arrow with stroke: ⇒</p><!-- â -->
<p>Leftwards double arrow with stroke: &nLArr;</p> <!-- â -->
<p>Rightwards double arrow with stroke: &nRArr;</p> <!-- â -->
Geometric Shapes
Geometric shapes are used to create visual elements and icons in HTML.
Basic Shapes
Here are some basic geometric shapes available in HTML:
<!-- Basic geometric shapes -->
<p>Square: □</p> <!-- ⥠-->
<p>Filled square: ■</p> <!-- â -->
<p>Circle: ○</p> <!-- â -->
<p>Filled circle: ●</p> <!-- â -->
<p>Triangle: △</p> <!-- âł -->
<p>Filled triangle: ▲</p> <!-- âČ -->
<p>Diamond: ◇</p> <!-- â -->
<p>Filled diamond: ◆</p> <!-- â -->
Advanced Shapes
Here are some advanced geometric shapes available in HTML:
<!-- Advanced shapes -->
<p>Pentagon: ◉</p> <!-- ⏠-->
<p>Hexagon: ◈</p> <!-- ⏹ -->
<p>Star: ☆</p> <!-- â
-->
<p>Outlined star: ★</p> <!-- â -->
<p>Heart: ♥</p> <!-- â„ -->
<!-- Outlined heart: ♡</p> <!-- ⥠-->
<p>Club suit: ♣</p> <!-- ⣠-->
<p>Diamond suit: ♦</p> <!-- ⊠-->
<p>Heart suit: ♥</p> <!-- â„ -->
<p>Spade suit: ♠</p> <!-- â -->
Punctuation and Typographic Symbols
HTML provides a wide range of punctuation and typographic symbols for various use cases.
Quotation Marks
Here are some common quotation marks and related symbols in HTML:
<!-- Quotation marks -->
<p>Left single quote: ‘</p> <!-- ' -->
<p>Right single quote: ’</p> <!-- ' -->
<p>Left double quote: “</p> <!-- " -->
<p>Right double quote: ”</p> <!-- " -->
<p>Single low-9 quote: ‚</p> <!-- â -->
<p>Double low-9 quote: „</p> <!-- â -->
<p>Prime: ′</p> <!-- âČ -->
<p>Double prime: ″</p> <!-- âł -->
Dashes and Other Punctuation
Here are some common dashes and other punctuation symbols in HTML:
<!-- Dashes -->
<p>En dash: –</p> <!-- â -->
<p>Em dash: —</p> <!-- â -->
<p>Horizontal bar: ―</p> <!-- â -->
<p>Figure dash: ‒</p> <!-- â -->
<!-- Other punctuation -->
<p>Ellipsis: …</p> <!-- ⊠-->
<p>Interrobang: ‽</p> <!-- ✠-->
<p>Irony mark: ‼</p> <!-- ✠-->
<p>Reference mark: ※</p> <!-- â» -->
<p>Exclamation mark: !</p> <!-- ! -->
<p>Question mark: ?</p> <!-- ? -->
Scientific and Technical Symbols
Scientific and Technical Symbols are used to represent various scientific and technical concepts in HTML.
Scientific Symbols
Here are some common scientific symbols in HTML:
<!-- Scientific symbols -->
<p>Degree: °</p> <!-- ° -->
<p>Minute: ′</p> <!-- âČ -->
<p>Second: ″</p> <!-- âł -->
<p>Plus-minus: ±</p> <!-- ± -->
<p>Minus-plus: ∓</p> <!-- â -->
<p>Division slash: ∕</p> <!-- â -->
<p>Bullet point: •</p> <!-- âą -->
<p>Middle dot: ·</p> <!-- · -->
Technical Symbols
Here are some common technical symbols in HTML:
<!-- Technical symbols -->
<p>Check mark: ✓</p> <!-- â -->
<p>Ballot X: ✗</p> <!-- â -->
<p>Heavy check mark: ✓</p> <!-- â -->
<p>Heavy ballot X: ✘</p> <!-- â -->
<p>Asterisk operator: ∗</p> <!-- â -->
<p>Circled asterisk: ⊛</p> <!-- â -->
<p>Lozenge: ◊</p> <!-- â -->
<p>White lozenge: ◇</p> <!-- â -->
Decorative and Miscellaneous Symbols
Decorative and Miscellaneous Symbols are used to add visual interest and convey additional meaning in HTML.
Decorative Symbols
Here are some common decorative symbols in HTML:
<!-- Decorative symbols -->
<p>Floral heart: ♥</p> <!-- â„ -->
<p>Black heart: ♥</p> <!-- â„ -->
<p>White heart: ♡</p> <!-- ⥠-->
<p>Sparkles: ✨</p> <!-- âš -->
<p>Star: ★</p> <!-- â
-->
<p>White star: ☆</p> <!-- â -->
<p>Snowflake: ❄</p> <!-- â -->
<p>Hot beverage: ☕</p> <!-- â -->
<p>Electrical light: 💡</p> <!-- đĄ -->
Weather Symbols
Here are some common weather symbols in HTML:
<!-- Weather symbols -->
<p>Sun: ☀</p> <!-- â -->
<p>Cloud: ☁</p> <!-- â -->
<p>Umbrella: ☂</p> <!-- â -->
<p>Snowman: ☃</p> <!-- â -->
<p>Comet: ☄</p> <!-- â -->
<p>Lightning: a1;</p> <!-- ⥠-->
<p>Thermometer: ™</p> <!-- âą -->
<p>Water wave: ☿</p> <!-- â -->
Practical Usage Examples
The following examples demonstrate how to use HTML symbols in practical scenarios:
Mathematical Content
Here is how to use HTML symbols for mathematical content:
<!-- Mathematical formulas -->
<div class="math-content">
<h3>Physics Formulas</h3>
<p>Einstein's equation: E = mc²²</p>
<p>Newton's second law: F = ma</p>
<p>Pythagorean theorem: a²² + b²² = c²²</p>
<p>Area of circle: A = πr²²</p>
<p>Circumference: C = 2πr</p>
<p>Volume of sphere: V = (4/3)πr³³</p>
</div>
<!-- Mathematical inequalities -->
<div class="inequalities">
<h3>Inequalities</h3>
<p>x > 5 and x < 10</p>
<p>x ≥ 5 and x ≤ 10</p>
<p>x ≠ 0</p>
<p>x ≈ 3.14159</p>
<p>x → ∞</p>
</div>
Financial Content
Here is how to use HTML symbols for financial content:
<!-- Financial information -->
<div class="financial-info">
<h3>Price Information</h3>
<p>Original price: $99.99</p>
<p>Discount price: $79.99 (-20%)</p>
<p>European price: €89.99</p>
<p>British price: £69.99</p>
<p>Japanese price: ¥8,999</p>
<p>Indian price: ₹6,999</p>
<p>Bitcoin price: ₿0.05</p>
</div>
<!-- Stock market symbols -->
<div class="stock-info">
<h3>Stock Market</h3>
<p>AAPL: ▲ +2.5% (+$4.25)</p>
<p>GOOGL: ▼ -1.2% (-$1.50)</p>
<p>MSFT: ▲ +0.8% (+$2.10)</p>
<p>TSLA: ▼ -3.4% (-$8.90)</p>
</div>
Complete HTML Symbol Reference Table
The table below contains some of the most commonly used HTML symbols, their entity names, numeric codes, and descriptions.
| Symbol | Entity Name | Numeric Code | Description | Category |
|---|---|---|---|---|
| + | + | + | Plus sign | Math |
| â | − | − | Minus sign | Math |
| Ă | × | × | Multiplication sign | Math |
| Ă· | ÷ | ÷ | Division sign | Math |
| â | ≈ | ≈ | Approximately equal | Math |
| â | ≠ | ≠ | Not equal | Math |
| †| ≤ | ≤ | Less than or equal | Math |
| â„ | ≥ | ≥ | Greater than or equal | Math |
| â | ∞ | ∞ | Infinity | Math |
| â | √ | √ | Square root | Math |
| â | ∑ | ∑ | Summation | Math |
| â« | ∫ | ∫ | Integral | Math |
| $ | $ | $ | US Dollar | Currency |
| ⏠| € | € | Euro | Currency |
| ÂŁ | £ | £ | British Pound | Currency |
| „ | ¥ | ¥ | Japanese Yen | Currency |
| âč | N/A | ₹ | Indian Rupee | Currency |
| âż | N/A | ₿ | Bitcoin | Currency |
| â | ← | ← | Left arrow | Arrow |
| â | → | → | Right arrow | Arrow |
| â | ↑ | ↑ | Up arrow | Arrow |
| â | ↓ | ↓ | Down arrow | Arrow |
| â | ↔ | ↔ | Left-right arrow | Arrow |
| â | ⇐ | ⇐ | Double left arrow | Arrow |
| â | ⇒ | ⇒ | Double right arrow | Arrow |
| â | ⇔ | ⇔ | Double left-right arrow | Arrow |
| α | α | α | Greek small alpha | Greek |
| ÎČ | β | β | Greek small beta | Greek |
| Îł | γ | γ | Greek small gamma | Greek |
| Ï | π | π | Greek small pi | Greek |
| Ω | Ω | Ω | Greek capital omega | Greek |
| â | ★ | ★ | Black star | Shape |
| â | ☆ | ☆ | White star | Shape |
| â„ | ♥ | ♥ | Heart symbol | Shape |
| ⊠| ♦ | ♦ | Diamond suit | Shape |
| ⣠| ♣ | ♣ | Club suit | Shape |
| â | ♠ | ♠ | Spade suit | Shape |
| ⊠| … | … | Ellipsis | Punctuation |
| â | — | — | Em dash | Punctuation |
| â | – | – | En dash | Punctuation |
| â | “ | “ | Left double quotation mark | Punctuation |
| â | ” | ” | Right double quotation mark | Punctuation |
| â | ✓ | ✓ | Check mark | Technical |
| â | ✗ | ✗ | Ballot X | Technical |
| ⥠| ⚡ | ⚡ | Lightning bolt | Technical |
| â | ☀ | ☀ | Sun symbol | Weather |
| â | ☁ | ☁ | Cloud symbol | Weather |
Navigation and UI Symbols
Here is how to use HTML symbols for navigation and user interface elements:
<!-- Navigation elements -->
<nav class="navigation">
<ul>
<li><a href="#prev">← Previous</a></li>
<li><a href="#next">Next →</a></li>
<li><a href="#home">▲ Home</a></li>
<li><a href="#top">↑ Top</a></li>
</ul>
</nav>
<!-- Status indicators -->
<div class="status-indicators">
<h3>Status Indicators</h3>
<p>✓ Task completed successfully</p>
<p>✘ Task failed</p>
<p>☀ Sunny weather expected</p>
<p>☁ Cloudy with rain</p>
<p>☕ Coffee break time</p>
<p>a1; High priority task</p>
</div>
Accessibility Considerations
When using HTML symbols, it's important to consider accessibility to ensure that all users can understand the content. Here are some best practices:
<!-- Accessible symbol usage -->
<!-- Use ARIA labels for symbols -->
<span aria-label="Completed" role="img">✓</span>
<!-- Provide text alternatives -->
<button>
<span aria-hidden="true">▲</span>
<span class="sr-only">Scroll to top</span>
</button>
<!-- Use semantic HTML when possible -->
<!-- Instead of: ✓ Completed -->
<div class="status success">Completed</div>
<!-- Use symbols with descriptive text -->
<p>☀ Weather: Sunny, 25°C</p>
<p>☁ Weather: Cloudy, 18°C</p>
Note: Always ensure that symbols are used in a way that enhances the content and does not create confusion for users relying on assistive technologies.
Complete Symbol Reference Example
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML Symbols Complete Reference</title>
<style>
body {
font-family: Arial, sans-serif;
line-height: 1.6;
margin: 0;
padding: 20px;
background-color: #f4f4f4;
color: #333;
}
.container {
max-width: 1200px;
margin: 0 auto;
background-color: white;
padding: 30px;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
h1 {
color: #2c3e50;
text-align: center;
margin-bottom: 30px;
}
.symbol-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin: 30px 0;
}
.symbol-card {
background-color: #f8f9fa;
border: 1px solid #dee2e6;
border-radius: 8px;
padding: 20px;
text-align: center;
transition: transform 0.3s ease;
}
.symbol-card:hover {
transform: translateY(-5px);
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.symbol-display {
font-size: 2em;
font-weight: bold;
color: #007bff;
margin-bottom: 10px;
}
.symbol-name {
font-weight: bold;
color: #495057;
margin-bottom: 5px;
}
.symbol-entity {
font-family: 'Courier New', monospace;
background-color: #e9ecef;
padding: 4px 8px;
border-radius: 4px;
font-size: 0.9em;
}
.category {
margin: 40px 0;
padding: 20px;
background-color: #f8f9fa;
border-radius: 8px;
border-left: 4px solid #007bff;
}
.category h2 {
color: #007bff;
margin-top: 0;
}
.interactive-demo {
background-color: #e3f2fd;
border-left: 4px solid #2196f3;
padding: 20px;
margin: 30px 0;
border-radius: 4px;
}
.button-group {
display: flex;
gap: 10px;
margin: 15px 0;
flex-wrap: wrap;
}
.btn {
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
transition: all 0.3s ease;
}
.btn-primary {
background-color: #3498db;
color: white;
}
.btn-primary:hover {
background-color: #2980b9;
transform: translateY(-2px);
}
#symbolOutput {
background-color: #2d3748;
color: #e2e8f0;
padding: 15px;
border-radius: 4px;
font-family: 'Courier New', monospace;
margin: 15px 0;
min-height: 100px;
white-space: pre-wrap;
font-size: 14px;
}
.example-section {
background-color: #fff3cd;
border-left: 4px solid #ffc107;
padding: 20px;
margin: 20px 0;
border-radius: 4px;
}
.example-section h3 {
color: #856404;
margin-top: 0;
}
</style>
</head>
<body>
<div class="container">
<h1>HTML Symbols Complete Reference</h1>
<div class="category">
<h2>Mathematical Symbols</h2>
<div class="symbol-grid">
<div class="symbol-card">
<div class="symbol-display">â</div>
<div class="symbol-name">Summation</div>
<div class="symbol-entity">∑</div>
</div>
<div class="symbol-card">
<div class="symbol-display">â«</div>
<div class="symbol-name">Integral</div>
<div class="symbol-entity">∫</div>
</div>
<div class="symbol-card">
<div class="symbol-display">â</div>
<div class="symbol-name">Square Root</div>
<div class="symbol-entity">√</div>
</div>
<div class="symbol-card">
<div class="symbol-display">â</div>
<div class="symbol-name">Infinity</div>
<div class="symbol-entity">∞</div>
</div>
<div class="symbol-card">
<div class="symbol-display">Ï</div>
<div class="symbol-name">Pi</div>
<div class="symbol-entity">π</div>
</div>
<div class="symbol-card">
<div class="symbol-display">±</div>
<div class="symbol-name">Plus-Minus</div>
<div class="symbol-entity">±</div>
</div>
</div>
</div>
<div class="category">
<h2>Currency Symbols</h2>
<div class="symbol-grid">
<div class="symbol-card">
<div class="symbol-display">$</div>
<div class="symbol-name">US Dollar</div>
<div class="symbol-entity">$</div>
</div>
<div class="symbol-card">
<div class="symbol-display">âŹ</div>
<div class="symbol-name">Euro</div>
<div class="symbol-entity">€</div>
</div>
<div class="symbol-card">
<div class="symbol-display">ÂŁ</div>
<div class="symbol-name">British Pound</div>
<div class="symbol-entity">£</div>
</div>
<div class="symbol-card">
<div class="symbol-display">„</div>
<div class="symbol-name">Japanese Yen</div>
<div class="symbol-entity">¥</div>
</div>
<div class="symbol-card">
<div class="symbol-display">âč</div>
<div class="symbol-name">Indian Rupee</div>
<div class="symbol-entity">₹</div>
</div>
<div class="symbol-card">
<div class="symbol-display">âż</div>
<div class="symbol-name">Bitcoin</div>
<div class="symbol-entity">₿</div>
</div>
</div>
</div>
<div class="category">
<h2>Arrows and Direction</h2>
<div class="symbol-grid">
<div class="symbol-card">
<div class="symbol-display">â</div>
<div class="symbol-name">Left Arrow</div>
<div class="symbol-entity">←</div>
</div>
<div class="symbol-card">
<div class="symbol-display">â</div>
<div class="symbol-name">Right Arrow</div>
<div class="symbol-entity">→</div>
</div>
<div class="symbol-card">
<div class="symbol-display">â</div>
<div class="symbol-name">Up Arrow</div>
<div class="symbol-entity">↑</div>
</div>
<div class="symbol-card">
<div class="symbol-display">â</div>
<div class="symbol-name">Down Arrow</div>
<div class="symbol-entity">↓</div>
</div>
<div class="symbol-card">
<div class="symbol-display">â</div>
<div class="symbol-name">Left-Right Arrow</div>
<div class="symbol-entity">↔</div>
</div>
<div class="symbol-card">
<div class="symbol-display">â</div>
<div class="symbol-name">Up-Down Arrow</div>
<div class="symbol-entity">↕</div>
</div>
</div>
</div>
<div class="category">
<h2>Geometric Shapes</h2>
<div class="symbol-grid">
<div class="symbol-card">
<div class="symbol-display">â
</div>
<div class="symbol-name">Star</div>
<div class="symbol-entity">★</div>
</div>
<div class="symbol-card">
<div class="symbol-display">â</div>
<div class="symbol-name">White Star</div>
<div class="symbol-entity">☆</div>
</div>
<div class="symbol-card">
<div class="symbol-display">â„</div>
<div class="symbol-name">Heart</div>
<div class="symbol-entity">♥</div>
</div>
<div class="symbol-card">
<div class="symbol-display">âŠ</div>
<div class="symbol-name">Diamond</div>
<div class="symbol-entity">♦</div>
</div>
<div class="symbol-card">
<div class="symbol-display">âŁ</div>
<div class="symbol-name">Club</div>
<div class="symbol-entity">♣</div>
</div>
<div class="symbol-card">
<div class="symbol-display">â </div>
<div class="symbol-name">Spade</div>
<div class="symbol-entity">♠</div>
</div>
</div>
</div>
<div class="interactive-demo">
<h3>Interactive Symbol Generator</h3>
<p>Click the buttons below to see different symbol categories and their HTML entities:</p>
<div class="button-group">
<button class="btn btn-primary" onclick="showMathSymbols()">Mathematical</button>
<button class="btn btn-primary" onclick="showCurrencySymbols()">Currency</button>
<button class="btn btn-primary" onclick="showArrowSymbols()">Arrows</button>
<button class="btn btn-primary" onclick="showShapeSymbols()">Shapes</button>
<button class="btn btn-primary" onclick="showWeatherSymbols()">Weather</button>
<button class="btn btn-primary" onclick="showStatusSymbols()">Status</button>
</div>
<div id="symbolOutput">Click a button to see symbol examples...</div>
</div>
<div class="example-section">
<h3>Practical Usage Examples</h3>
<h4>Mathematical Content</h4>
<p>Einstein's equation: E = mc²²</p>
<p>Area of circle: A = πr²²</p>
<p>Temperature: 25°C (77°F)</p>
<p>Confidence: 95% ± 2.5%</p>
<h4>Financial Information</h4>
<p>Price: $29.99 (€24.99, £19.99)</p>
<p>Stock: AAPL ▲ +2.5% (+$4.25)</p>
<p>Crypto: BTC ₿0.05</p>
<h4>Navigation Elements</h4>
<p>← Previous | → Next | ▲ Top</p>
<p>✓ Completed | ✘ Failed</p>
<p>☀ Sunny | ☁ Cloudy</p>
</div>
</div>
<script>
function showMathSymbols() {
const output = document.getElementById('symbolOutput');
output.innerHTML = `Mathematical Symbols:
â Summation: ∑
â« Integral: ∫
â Square Root: √
â Infinity: ∞
Ï Pi: π
± Plus-Minus: ±
â Approximately: ≈
â Not Equal: ≠
†Less Equal: ≤
â„ Greater Equal: ≥
â Exists: ∃
â For All: ∀
â Partial: ∂
â Nabla: &nabla`;
}
function showCurrencySymbols() {
const output = document.getElementById('symbolOutput');
output.innerHTML = `Currency Symbols:
$ US Dollar: $
⏠Euro: €
ÂŁ British Pound: £
„ Japanese Yen: ¥
âč Indian Rupee: ₹
✠Russian Ruble: ₽
âż Bitcoin: ₿
Âą Cent: ¢
€ Generic Currency: €
âČ Guarani: ₲`;
}
function showArrowSymbols() {
const output = document.getElementById('symbolOutput');
output.innerHTML = `Arrow Symbols:
â Left: ←
â Right: →
â Up: ↑
â Down: ↓
â Left-Right: ↔
â Up-Down: ↕
â Northwest: ↖
â Northeast: ↗
â Southwest: ↙
â Southeast: ↘
â Double Left: ⇐
â Double Right: &rArr`;
}
function showShapeSymbols() {
const output = document.getElementById('symbolOutput');
output.innerHTML = `Shape Symbols:
â
Star: ★
â White Star: ☆
â„ Heart: ♥
⥠White Heart: ♡
⊠Diamond: ♦
⣠Club: ♣
â Spade: ♠
â Circle: ○
â Filled Circle: ●
⥠Square: □
â Filled Square: ■`;
}
function showWeatherSymbols() {
const output = document.getElementById('symbolOutput');
output.innerHTML = `Weather Symbols:
â Sun: ☀
â Cloud: ☁
â Umbrella: ☂
â Snowman: ☃
â Comet: ☄
⥠Lightning: a1;
â Water Wave: ☿
â Thunderstorm: ◴`;
}
function showStatusSymbols() {
const output = document.getElementById('symbolOutput');
output.innerHTML = `Status Symbols:
â Check Mark: ✓
â Ballot X: ✗
â Heavy Check: ✓
â Heavy X: ✘
âą Bullet: •
⣠Triangle Bullet: ‣
â» Reference: ※
⌠Interrobang: ‽`;
}
</script>
</body>
</html>