HTML Symbols
Many useful characters are missing from a normal keyboard: the euro sign, arrows, mathematical operators, Greek letters, card suits and more. HTML lets you put any of them on a page using entity names or numeric character references, so you never need to hunt for a special key.
Three ways to write a symbol
Every character in Unicode has a number called its code point. HTML gives you three ways to refer to it:
| Form | Example for € | When to use it |
|---|---|---|
| Entity name | € |
Easy to remember, but not every character has one |
| Decimal reference | € |
Works for every character |
| Hexadecimal reference | € |
Matches how Unicode charts list code points (U+20AC) |
All three produce exactly the same character in the browser. If your file is saved as UTF-8 (it should be — see the Charset lesson), you can also simply paste the character itself.
<p>Entity name: € 25</p>
<p>Decimal: € 25</p>
<p>Hexadecimal: € 25</p>
<p>Typed directly: € 25</p>Tip: Entity names are case-sensitive.
Δgives a capital Δ, whileδgives a small δ.
Currency symbols
| Symbol | Name | Entity | Decimal |
|---|---|---|---|
| € | Euro | € |
€ |
| £ | Pound | £ |
£ |
| ¥ | Yen | ¥ |
¥ |
| ¢ | Cent | ¢ |
¢ |
| ₫ | Dong | — | ₫ |
| ₹ | Rupee | — | ₹ |
Notice that the dong and rupee signs have no entity name. That is common: only a few hundred characters have names, so the numeric form is the reliable fallback.
Math symbols
HTML can display most mathematical operators. This is handy for simple formulas without using a math library.
| Symbol | Meaning | Entity |
|---|---|---|
| × | multiply | × |
| ÷ | divide | ÷ |
| ± | plus or minus | ± |
| ≠ | not equal | ≠ |
| ≤ / ≥ | less / greater or equal | ≤ / ≥ |
| √ | square root | √ |
| ∞ | infinity | ∞ |
| ∑ | sum | ∑ |
| π | pi | π |
<h3>Little formulas</h3>
<p>Area of a circle: A = π × r²</p>
<p>Quadratic roots: x = (−b ± √(b² − 4ac)) ÷ 2a</p>
<p>For all x: x ≥ 0 ⇒ √x is real</p>
<p>∑ of 1..n = n(n + 1) / 2, and n can grow to ∞</p>Arrows, Greek letters and other symbols
| Symbol | Entity | Symbol | Entity |
|---|---|---|---|
| ← | ← |
α | α |
| → | → |
β | β |
| ↑ | ↑ |
Ω | Ω |
| ↓ | ↓ |
© | © |
| ⇒ | ⇒ |
® | ® |
| ↔ | ↔ |
™ | ™ |
| ♠ ♣ ♥ ♦ | ♠ ♣ ♥ ♦ |
° | ° |
<style>
nav a { margin: 0 8px; text-decoration: none; }
.cards span { font-size: 32px; margin-right: 6px; }
.red { color: crimson; }
</style>
<nav>
<a href="#">← Previous</a>
<a href="#">↑ Top</a>
<a href="#">Next →</a>
</nav>
<p class="cards">
<span>♠</span><span class="red">♥</span>
<span class="red">♦</span><span>♣</span>
</p>
<p>Today it is 21°C. Physics uses α, β and Ω a lot.</p>
<footer>© 2026 ExcelTAD™</footer>Finding a code point
If a character has no entity name, look up its Unicode code point (for example "U+2713 CHECK MARK") and write it in hexadecimal: ✓ gives ✓. You can also find the decimal number with a tiny bit of JavaScript, as the next playground shows.
<p>Type a character to see its references:</p>
<input id="ch" value="✓" maxlength="2" size="4">
<p id="out"></p>
<script>
const box = document.getElementById('ch');
const out = document.getElementById('out');
function show() {
const cp = box.value.codePointAt(0);
if (cp === undefined) { out.textContent = ''; return; }
out.textContent = `Decimal: &#${cp}; Hex: &#x${cp.toString(16).toUpperCase()};`;
}
box.addEventListener('input', show);
show();
</script>Note: Symbol fonts vary. A character may look slightly different on Windows, macOS and phones, and a very rare symbol might show as an empty box if no installed font contains it.
Test yourself
Which reference displays the euro sign €?
&eur;€AC;&euro
What should you use for a character that has no entity name?
- It cannot be shown in HTML
- An image
- A numeric reference such as
₹ - The
<symbol>tag
Are Δ and δ the same character?
- Yes, entities ignore case
- No, entity names are case-sensitive
- Only in Chrome
- Neither is valid