♠ Black Spade Suit

All symbols
Cards · SymbolsU+2660 · Miscellaneous Symbols

Black Spade Suit

U+2660 · decimal 9824 · Miscellaneous Symbols

Every way to write it

7 forms
HTML entity

♠

A named entity — readable, and safe in any HTML document without declaring a charset.

HTML numeric

♠

The numeric form works everywhere a named one does, and exists for every character.

CSS content

\2660

For a content property in a ::before or ::after rule. No semicolon, and mind the trailing space.

JavaScript

\u2660

Valid in a JavaScript or JSON string literal, so it survives files and pipelines that are not UTF-8 clean.

Python

\u2660

The escape for a Python string literal.

URL

%E2%99%A0

Percent-encoded UTF-8, for a query string or a path segment.

UTF-8 bytes

E2 99 A0

3 bytes on the wire. Seeing these as separate garbled characters means something decoded them as single-byte text.

Typing it without copying

system picker
macOS

Control + Command + Space, then search black spade suit

Windows

Character Map or Alt + 9824

Groups it belongs to

Characters near it

8
Code pointU+2660
EntityNamed
UTF-83 bytes
ASCIINo