-
Hajipur, Bihar, 844101
HTML allows you to display a wide range of symbols that are not available directly on the keyboard. These include currency signs, mathematical symbols, arrows, shapes, punctuation variations and many special characters used in technical or creative content. HTML symbols are represented using character entities, either with named codes or numeric codes. In this chapter, you will learn how HTML symbols work, how to write them, the difference between entity types and how to use the most common symbol categories with practical examples.
HTML symbols are characters that extend beyond basic letters and numbers. They include icons, technical signs, fractions, geometric shapes, arrows and many other visual characters. Because these symbols are not easily typed using a standard keyboard, HTML provides entity codes to display them safely.
Symbols are displayed by writing their entity codes:
© → ©
♥ → ♥
★ → ★
The browser reads the code and converts it into the correct symbol on the page.
HTML symbols use two formats:
These use a readable name.
™ → ™
♠ → ♠
These use numeric Unicode values.
© → ©
♥ → ♥
★ → ★ (Hex version)
You can use either format depending on what you remember or prefer. Numeric codes cover the largest range of symbols.
You use symbols when:
you need arrows or icons for navigation
you want math or scientific symbols
you need currency symbols
you need shapes or indicators
the symbol is not on your keyboard
you want a clean, consistent display across browsers
Symbols help communicate meaning visually without adding extra images.
Currency symbols appear on e-commerce websites, billing pages or pricing charts.
$ → $
€ → €
£ → £
¥ → ¥
¢ → ¢
<p>Price: $299</p>
<p>European Price: €249</p>
Math symbols are widely used in education, tutorials and scientific content.
+ → +
− → −
× → ×
÷ → ÷
= → =
π → π
∑ → ∑
√ → √
∞ → ∞
<p>Area = π r²</p>
The superscript uses ², another helpful entity.
Arrows help indicate direction, movement, or steps in a process.
← → ←
→ → →
↑ → ↑
↓ → ↓
↔ → ↔
↵ → ↵
<p>Next step → Submit form</p>
These symbols are often used in tutorials and UI instructions.
HTML includes many shapes such as stars, circles, diamonds and boxes.
★ → ★
☆ → ☆
● → ●
■ → ■
○ → ○
◆ → ◆
<p>Rating: ★★★★☆</p>
Numeric entities are used mostly for these types of symbols.
If your site deals with games, card apps or fun UI elements, you may need these symbols.
♠ → ♠
♣ → ♣
♥ → ♥
♦ → ♦
<p>My favourite suit is ♥</p>
Greek letters appear in formulas, physics, chemistry and academic writing.
α → α
β → β
γ → γ
δ → δ
λ → λ
ω → ω
<p>Wavelength: λ = 500 nm</p>
HTML gives you symbols for curved quotes, long dashes and more.
— → —
– → –
‘ → ‘
’ → ’
“ → “
” → ”
… → …
<p>She said “Welcome” — and smiled.</p>
These help you style writing with proper punctuation.
HTML includes several built-in fractions.
½ → ½
¼ → ¼
¾ → ¾
For custom fractions, numeric codes or CSS are usually used.
Some emojis can be displayed directly through numeric codes:
😀 → 😀
💗 → 💗
🚀 → 🚀
These work without images or external libraries.
Symbols help create simple UI elements using only text.
<p>● Feature 1</p>
<p>● Feature 2</p>
<p>← Back | Next →</p>
<p>Rating: ★★★★☆</p>
Symbols make the interface clearer without adding images.
| Symbol | Entity | Result |
|---|---|---|
| © | © |
© |
| ® | ® |
® |
| ™ | ™ |
™ |
| ♥ | ♥ |
♥ |
| ♦ | ♦ |
♦ |
| Code | Symbol |
|---|---|
★ |
★ |
♥ |
♥ |
► |
▶ |
✓ |
✓ |
😀 |
😀 |
Tables like these help you quickly find the symbol you need.
you want compact visual elements
you need icons but don’t want images
the symbol improves readability
your content includes math or science
you want cross-browser consistency
you need full graphics or detailed icons
the symbol may confuse screen readers
accessibility is a priority (use ARIA labels)
Symbols are useful, but they should be used with purpose.
HTML symbols let you display extra characters that aren’t available on the keyboard. You learned how named and numeric entities work, how to use currency, arrows, shapes, Greek letters, math signs, fractions, emojis and punctuation. Symbols play an important role in UI design, educational content and interactive pages. With the right entity codes, you can make your webpages more expressive, readable and visually helpful.
Q1. Write HTML to display a heart symbol.
Q2. Use the right arrow symbol to indicate navigation.
Q3. Display the trademark symbol after a brand name.
Q4. Show currency symbols like Pound and Yen in a price list.
Q5. Use up, down, left, and right arrows in a navigation menu.
Q6. Write HTML to display paragraph (§) and section (§) symbols.
Q7. Display the copyright symbol along with trademark symbols.
Q8. Use numeric codes to display the yen and pound symbols.
Q9. Create a list with multiple HTML symbols used as bullet points.
Q10. Combine arrows and symbols to design a simple navigation hint.