HTML Entity for White Spade Suit (♤)

Beginner
5 min read
Updated: Sep 2026
1 example
Unicode U+2664

What Is White Spade Suit?

White spade suit (♤) is Unicode U+2664 (WHITE SPADE SUIT) in the Miscellaneous Symbols block. It is the outline spades suit used in card games and decorative suit UI. HTML5 has no named entity for this character.

Remember
Character     ♤
Unicode       U+2664
Hex entity    ♤
Decimal       ♤
CSS escape    \2664
Named entity  (none)
Not the same  ♠ U+2660 (black spade suit)

All of these produce the same glyph: ♤. Prefer typing ♤ in UTF-8 when you can; use numeric or CSS forms for generated content. Do not use ♠ — that maps to black spade suit (U+2660).

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct character♤HTML text (UTF-8) — preferred
Hex entity♤HTML markup
Decimal entity♤HTML markup
CSS escape\2664Stylesheet content
Named entity—Not defined in HTML5

When to Use Which

SituationUse
Outline / white spades♤ or type ♤
Filled / black spades♠ (U+2660)
Other white suits♡ · ♢ · ♧
Icon via CSScontent: "\2664" on ::before
Looking for ♠That is black spade (U+2660) — not this glyph

Live Preview

White spade suit in common study contexts.

Large glyph ♤
Inline suit Ace of ♤
Four white suits ♤ ♡ ♢ ♧
Compared White ♤ · Black ♠
Accessible label spades Spades
With entities Hex: ♤ | Decimal: ♤

Complete HTML Example

One page that shows ♤ with hex, decimal, CSS escape, and a typed character. Use View Output or open the live editor.

Hex + Decimal + CSS + Typed

Four ways to produce ♤ in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>White Spade Suit (♤) in HTML</title>
  <style>
    #point::after {
      content: "\2664";
    }
  </style>
</head>
<body>
  <p>White spade suit using Hex Code: &#x2664;</p>
  <p>White spade suit using HTML Code: &#9828;</p>
  <p id="point">White spade suit using CSS Entity: </p>
  <p>Typed directly: ♤</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+2664 → &#x2664; in HTML. The browser turns it into ♤.

2. Decimal: same code point as 9828 → &#9828;. Same result as hex.

3. CSS: use \2664 in content (not an HTML entity). #point::after appends that ♤ after the paragraph text.

4. Typed ♤: fine in UTF-8 source. There is no named entity — &spades; is a different character.

Pitfalls & Tips

Common mistakes when working with white spade suit (♤).

♠

Not black spade

♤ is outline. For the filled form use ♠ (U+2660) / &spades;.

Named?

No named entity

&spades; and &spadesuit; always mean U+2660. For ♤ use numeric forms only.

♡

Do not swap suits

♤ spades ≠ ♡ hearts ≠ ♢ diamonds ≠ ♧ clubs. Use the matching white-suit code point.

a11y

Say “Spades”

Screen readers may not announce the suit clearly. Pair the glyph with visible or visually hidden text.

Fonts

Match suit fonts

Use the same font stack for ♧ ♢ ♡ ♤ so white suit glyphs look consistent.

Semicolon

End references

Always finish with ; — write &#9828;, not &#9828.

Browser Support

White spade suit (U+2664) and its entity forms (&#x2664;, &#9828;, CSS \\2664) are supported in all mainstream browsers. Glyph quality depends on font support for Miscellaneous Symbols.

✓ Universal support

White Spade Suit (♤)

Type ♤, or encode with hex, decimal, or CSS escape — same glyph everywhere encoding is supported.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer All versions
Yes
U+2664 / entities Full support

Bottom line: Prefer a typed ♤ or &#x2664; / &#9828; for markup. Use \\2664 only inside CSS content. Do not use &spades; for this glyph.

Key Takeaways

  • Unicode: white spade suit is U+2664 (decimal 9828).
  • HTML: prefer typing ♤, or use &#x2664; / &#9828;.
  • CSS: use \2664 inside content for generated icons.
  • Watch out: no named entity; ♤ ≠ ♠; &spades; is black spade.

One line: U+2664 → type ♤ / &#x2664; / &#9828; / CSS \2664.

Frequently Asked Questions

Use &#x2664; (hex), &#9828; (decimal), or the CSS escape \2664 in the content property. All render ♤. You can also paste ♤ directly if your file is UTF-8. There is no named HTML entity.
U+2664 (hex 2664, decimal 9828). Unicode names it WHITE SPADE SUIT. It belongs to the Miscellaneous Symbols block in the playing-card suit range U+2660–U+2667.
No. HTML5 does not define a named entity for white spade suit. Use &#x2664; or &#9828;. The named forms &spades; and &spadesuit; map to black spade suit (U+2660), not this character.
♤ (U+2664) is the outline white spade suit. ♠ (U+2660) is the filled black spade suit with named entities &spades; / &spadesuit;. They are different code points.
HTML entities (&#9828; or &#x2664;) go in markup. The CSS escape \2664 is used in stylesheets (usually in the content property of ::before/::after). Both render ♤.
Use ♤ when you want an outline spades glyph for card UI, decorative suits, or light-on-dark designs. Prefer ♠ (&spades;) for the common filled spades suit in games and Bridge notation.

Did you know?

White spade suit is Unicode U+2664 (decimal 9828) in the Miscellaneous Symbols block — official name WHITE SPADE SUIT. HTML5 has no named entity for it. It is not black spade suit (U+2660 ♠ / &spades;).

Next: White Sun Rays

Learn the HTML entity for white sun rays (☼).

Continue tutorial →

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