HTML Entity for White Heart Suit (♡)

Beginner
⏱️ 5 min read
📚 Updated: Jun 2026
🎯 1 Code Example
Unicode U+2661

What You'll Learn

How to display the White Heart Suit symbol (♡) in HTML using hexadecimal, decimal, and CSS escape methods. This character is U+2661 (WHITE HEART SUIT) in the Miscellaneous Symbols block (U+2600–U+26FF)—the outline heart suit from playing cards.

Render it with ♡, ♡, or CSS escape \2661. There is no named HTML entity for U+2661. Do not confuse ♡ with ♥ (black heart suit, ♥) or red heart emoji ❤.

⚡ Quick Reference — White Heart Suit

Unicode U+2661

Miscellaneous Symbols

Hex Code ♡

Hexadecimal reference

HTML Code ♡

Decimal reference

Named Entity

Use numeric codes only

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2661
Hex code       ♡
HTML code      ♡
Named entity   (none)
CSS code       \2661
Meaning        White heart suit (playing cards)
Related        U+2665 = ♥ (black heart suit, ♥)
               U+2662 = ♢ (white diamond suit)
               U+2664 = ♤ (white spade suit)
               U+2667 = ♧ (white club suit)
Block          Miscellaneous Symbols (U+2600–U+26FF)
1

Complete HTML Example

A simple example showing White Heart Suit (♡) using hexadecimal code, decimal HTML code, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #heart:after{
   content: "\2661";
  }
 </style>
</head>
<body>
<p>White Heart Suit (hex): &#x2661;</p>
<p>White Heart Suit (decimal): &#9825;</p>
<p id="heart">White Heart Suit (CSS): </p>
</body>
</html>
Try It Yourself

🌐 Browser Support

U+2661 is supported in modern browsers when the font includes Miscellaneous Symbols glyphs:

Chrome1+
Firefox1+
Safari1+
Edge12+
Opera4+
Android4.4+
iOS Safari1+

👀 Live Preview

See White Heart Suit (♡) in context:

Large glyph
Love theme♡ With love
Heart pair♡ ♥
White suits♤ ♡ ♢ ♧
Numeric refs&#x2661; &#9825; \2661

🧠 How It Works

1

Hexadecimal Code

&#x2661; uses the Unicode hexadecimal value 2661 to display the character. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

&#9825; uses the decimal Unicode value 9825 to display the same character. A common method for symbol characters in HTML.

HTML markup
3

CSS Entity

\2661 is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.

CSS stylesheet
=

Same visual result

All three methods produce the glyph: . Unicode U+2661 is the white heart suit. Not the same as ♥ (black heart, &hearts;).

Use Cases

White Heart Suit (♡) is commonly used in:

💕 Love-Themed Designs

Romantic pages, Valentine’s content, and affection-themed layouts.

💬 Social Content

Posts and comments expressing love, appreciation, or warmth.

🃏 Card Games

Poker apps, solitaire UI, and playing-card interfaces.

✨ Decorative Content

Headers, footers, and design accents with heart ornamentation.

💑 Relationship Sites

Dating platforms, relationship blogs, and romantic content.

🎁 E-commerce

Gift shops, romantic gift sections, and seasonal promotions.

♿ Accessibility

Pair ♡ with visible text or aria-label; do not rely on the glyph alone.

💡 Best Practices

Do

  • Use ♡ for an outline heart suit; use ♥ or &hearts; for the filled black variant
  • Pair heart glyphs with accessible text or aria-label when conveying meaning
  • Pick one numeric style (hex or decimal) per project for consistency
  • Use fonts that support Miscellaneous Symbols characters
  • Test rendering across browsers and devices

Don’t

  • Confuse ♡ (white heart suit) with ♥ (&hearts;, black heart suit)
  • Assume &hearts; renders ♡—it renders ♥ (U+2665)
  • Mix entity styles randomly in one file
  • Use CSS escape \2661 inside HTML markup
  • Expect a named HTML entity for U+2661—none exists

Key Takeaways

1

Type ♡ directly, or use hex/decimal references

&#x2661; &#9825;
2

For CSS stylesheets, use the escape in the content property

\2661
3

Unicode U+2661 — WHITE HEART SUIT (Miscellaneous Symbols)

4

U+2661/U+2665 are white/black heart suit pairs; only U+2665 has &hearts;

❓ Frequently Asked Questions

Use &#x2661; (hex), &#9825; (decimal), or \2661 in CSS content. There is no named HTML entity for U+2661. In UTF-8 you can also type ♡ directly.
U+2661 (WHITE HEART SUIT). Miscellaneous Symbols block U+2600–U+26FF. Hex 2661, decimal 9825.
For love-themed designs, social content, card games, romantic pages, decorative accents, and playing-card heart suit UI.
HTML entities (&#9825; or &#x2661;) go directly in markup. The CSS escape \2661 is used in stylesheets, typically in the content property of ::before or ::after. Same visual result, different layers of the stack.
No. &hearts; renders ♥ (U+2665, black heart suit). For the white outline heart use &#9825; or &#x2661; for U+2661.

Explore More HTML Entities!

Discover 1500+ HTML character references — symbols, punctuation, and more.

All HTML Entities →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful