HTML Symbols & Entities
Complete reference for special characters in HTML
About HTML Symbols
HTML symbols are special characters that aren't readily available on standard keyboards or have special meaning in HTML. They can be displayed using entity names (like ©
) or entity numbers (like ©
).
Entity Numbers
Entity Names
Symbols
How to Use HTML Symbols
Entity Syntax
HTML symbols can be added using either entity names or entity numbers:
- Entity names:
&name;
Example:©
becomes © - Entity numbers:
&#number;
Example:©
becomes © - Hexadecimal numbers:
&#xHex;
Example:©
becomes ©
<!-- Entity name example -->
<p>Copyright © 2023</p>
<!-- Entity number example -->
<p>Copyright © 2023</p>
<!-- Hexadecimal example -->
<p>Copyright © 2023</p>
<!-- All three display as: Copyright © 2023 -->
When to Use Symbols
HTML symbols are essential for:
- Displaying special characters (©, ®, ™)
- Showing currency symbols (€, £, ¥)
- Mathematical notation (π, √, ∞)
- Arrows and directional indicators (→, ↑, ↓)
- Reserved characters in HTML (<, >, &)
- Accented characters (é, ñ, ü)
Tip: For better accessibility, always use semantic HTML elements where possible (like <sup>
for exponents) rather than symbol entities.
Common Symbols
Name | Entity Name | Entity Number | Symbol | Action |
---|---|---|---|---|
Copyright | © | © | © | |
Registered Trademark | ® | ® | ® | |
Trademark | ™ | ™ | ™ | |
Non-breaking Space | |   | ||
Ampersand | & | & | & | |
Less Than | < | < | < | |
Greater Than | > | > | > | |
Quotation Mark | " | " | " | |
Apostrophe | ' | ' | ' |
Mathematical Symbols
Name | Entity Name | Entity Number | Symbol | Action |
---|---|---|---|---|
Plus | + | + | + | |
Minus | − | − | - | |
Multiplication | × | × | × | |
Division | ÷ | ÷ | ÷ | |
Equals | = | = | = | |
Not Equal | ≠ | ≠ | ≠ | |
Less Than or Equal | ≤ | ≤ | ≤ | |
Greater Than or Equal | ≥ | ≥ | ≥ | |
Infinity | ∞ | ∞ | ∞ | |
Square Root | √ | √ | √ | |
Pi | π | π | π | |
Degree | ° | ° | ° |
Currency Symbols
Name | Entity Name | Entity Number | Symbol | Action |
---|---|---|---|---|
Dollar | $ | $ | $ | |
Euro | € | € | € | |
Pound | £ | £ | £ | |
Yen | ¥ | ¥ | ¥ | |
Cent | ¢ | ¢ | ¢ | |
Indian Rupee | &inr; | ₹ | ₹ | |
Russian Ruble | &rub; | ₽ | ₽ |
Arrows
Name | Entity Name | Entity Number | Symbol | Action |
---|---|---|---|---|
Left Arrow | ← | ← | ← | |
Up Arrow | ↑ | ↑ | ↑ | |
Right Arrow | → | → | → | |
Down Arrow | ↓ | ↓ | ↓ | |
Left-Right Arrow | ↔ | ↔ | ↔ | |
Up-Down Arrow | ↕ | ↕ | ↕ |
Greek Letters
Name | Entity Name | Entity Number | Symbol | Action |
---|---|---|---|---|
Alpha | α | α | α | |
Beta | β | β | β | |
Gamma | γ | γ | γ | |
Delta | δ | δ | δ | |
Epsilon | ε | ε | ε |
Symbol Usage Best Practices
Do's:
- Use named entities when available (more readable)
- Use numeric entities for obscure characters
- Test symbols in different browsers
- Consider accessibility (provide alt text if needed)
- Use UTF-8 character encoding in your HTML
- Escape reserved HTML characters (<, >, &, etc.)
Don'ts:
- Don't copy-paste symbols directly (use entities)
- Avoid overusing decorative symbols
- Don't use symbols for critical interface elements
- Avoid mixing symbol types unnecessarily
- Don't forget to declare UTF-8 charset
- Avoid using symbols that may not render consistently
Try Our HTML Symbols Editor
Experiment with HTML symbols in our interactive editor:
- Test different symbol formats
- See how symbols render in real-time
- Try combining symbols with text
- Experiment with mathematical notation
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<!-- Common symbols -->
<p>© ® ™</p>
<!-- Currency -->
<p>€ £ ¥</p>
<!-- Math -->
<p>π √ ∞</p>
<!-- Arrows -->
<p>← ↑ → ↓</p>
</body>
</html>