HTML Symbols


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.

What Are HTML Symbols?

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.

How symbols appear in HTML

Symbols are displayed by writing their entity codes:

©   → ©
♥ → ♥
★  → ★

The browser reads the code and converts it into the correct symbol on the page.

How HTML Symbol Entities Work

HTML symbols use two formats:

Named Entities

These use a readable name.

™   → ™
♠  → ♠

Numeric Entities (Decimal or Hex)

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.

When Do You Need HTML 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

Currency symbols appear on e-commerce websites, billing pages or pricing charts.

Common currency entities

$   → $
€     → €
£    → £
¥      → ¥
¢     → ¢

Example

<p>Price: &dollar;299</p>
<p>European Price: &euro;249</p>

Mathematical Symbols

Math symbols are widely used in education, tutorials and scientific content.

Common math entities

&plus;     → +
&minus;    → −
&times;    → ×
&divide;   → ÷
&equals;   → =
&pi;       → π
&sum;      → ∑
&radic;    → √
&infin;    → ∞

Example

<p>Area = &pi; r&sup2;</p>

The superscript uses &sup2;, another helpful entity.

Arrow Symbols

Arrows help indicate direction, movement, or steps in a process.

Arrow entities

&larr;   → ←
&rarr;   → →
&uarr;   → ↑
&darr;   → ↓
&harr;   → ↔
&crarr;  → ↵

Example

<p>Next step &rarr; Submit form</p>

These symbols are often used in tutorials and UI instructions.

Shapes and Geometric Symbols

HTML includes many shapes such as stars, circles, diamonds and boxes.

Common shape symbols

&#9733;  → ★
&#9734;  → ☆
&#9679;  → ●
&#9632;  → ■
&#9675;  → ○
&#9670;  → ◆

Example

<p>Rating: ★★★★☆</p>

Numeric entities are used mostly for these types of symbols.

Card Suit Symbols

If your site deals with games, card apps or fun UI elements, you may need these symbols.

Examples

&spades;   → ♠
&clubs;    → ♣
&hearts;   → ♥
&diams;    → ♦

Example usage

<p>My favourite suit is &hearts;</p>

Greek Letters and Scientific Symbols

Greek letters appear in formulas, physics, chemistry and academic writing.

Popular Greek entity codes

&alpha;   → α
&beta;    → β
&gamma;   → γ
&delta;   → δ
&lambda;  → λ
&omega;   → ω

Example

<p>Wavelength: &lambda; = 500 nm</p>

Punctuation and Typographic Symbols

HTML gives you symbols for curved quotes, long dashes and more.

Typographic entities

&mdash;  → —
&ndash;  → –
&lsquo;  → ‘
&rsquo;  → ’
&ldquo;  → “
&rdquo;  → ”
&hellip; → …

Example

<p>She said &ldquo;Welcome&rdquo; &mdash; and smiled.</p>

These help you style writing with proper punctuation.

Fractions and Number Symbols

HTML includes several built-in fractions.

Fraction entities

&frac12;  → ½
&frac14;  → ¼
&frac34;  → ¾

For custom fractions, numeric codes or CSS are usually used.

Emoji Using HTML Symbols

Some emojis can be displayed directly through numeric codes:

&#128512; → 😀
&#128151; → 💗
&#128640; → 🚀

These work without images or external libraries.

Combining Multiple Symbols in UI Design

Symbols help create simple UI elements using only text.

Example: Bullet-style icons

<p>&#9679; Feature 1</p>
<p>&#9679; Feature 2</p>

Example: Navigation indicators

<p>&larr; Back | Next &rarr;</p>

Example: Ratings

<p>Rating: &#9733;&#9733;&#9733;&#9733;&#9734;</p>

Symbols make the interface clearer without adding images.

Table of Common HTML Symbols

Popular named symbols

Symbol Entity Result
© &copy; ©
® &reg; ®
&trade;
&hearts;
&diams;

Popular numeric symbols

Code Symbol
&#9733;
&#9829;
&#9658;
&#10003;
&#128512; 😀

Tables like these help you quickly find the symbol you need.

When Should You Use HTML Symbols?

Use symbols when:

  • 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

Avoid symbols when:

  • 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.

Summary of HTML Symbols

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.


Practice Questions

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.


Go Back Top