HTML Entity for Black Chess King (♚)

What You'll Learn
How to display the Black Chess King (♚) in HTML and CSS. This character is U+265A (BLACK CHESS KING) in the Miscellaneous Symbols block (U+2600–U+26FF), with the other standard chess piece glyphs (U+2654–U+265F). In the starting position the black king stands on e8; it moves one square in any direction, and the game ends when the king is checkmated.
There is no named HTML entity for U+265A. Use ♚ or ♚ in markup, or \265A in stylesheet content. For accessible boards, combine glyphs with square labels, aria-label, or hidden text so assistive technology does not only announce an unlabeled symbol.
⚡ Quick Reference — Black Chess King
U+265AMiscellaneous Symbols
♚Hexadecimal reference
♚Decimal reference
—None (use numeric refs)
Name Value
──────────── ──────────
Unicode U+265A
Hex code ♚
HTML code ♚
Named entity —
CSS code \265AComplete HTML Example
This example shows U+265A using hexadecimal and decimal character references, plus a CSS content escape on a pseudo-element:
<!DOCTYPE html>
<html>
<head>
<style>
#point:after{
content: "\265A";
}
</style>
</head>
<body>
<p>Black Chess King using Hexa Decimal: ♚</p>
<p>Black Chess King using HTML Code: ♚</p>
<p id="point">Black Chess King using CSS Entity: </p>
</body>
</html>🌐 Browser Support
U+265A is widely supported; piece artwork varies by typeface:
👀 Live Preview
Compare black and white king glyphs (font-dependent):
🧠 How It Works
Hexadecimal Code
♚ references code point U+265A using hex digits 265A after the #x prefix.
Decimal HTML Code
♚ is the decimal equivalent (9818) for the same Black Chess King character.
CSS Entity
\265A is the CSS escape for U+265A, used in the content property of ::before or ::after.
Same visual result
Hex, decimal, and CSS escapes all produce ♚. There is no named HTML entity for U+265A.
Use Cases
The Black Chess King (♚) is commonly used for:
Boards, PGN comments, and king-in-check highlights without image sprites.
Badges or inline markers when the black king is attacked or mated.
Endgame drills and king-activity lessons in lightweight web views.
Castling, opposition, and king safety diagrams beside algebraic text.
Figurine king in analysis when images are off or slow to load.
Printable scoresheets and pairing boards from HTML.
Announce square + role (e.g. “black king on e8”); ♚ alone is not enough.
💡 Best Practices
Do
- Use one font stack for every piece so the board looks cohesive
- Prefer numeric references in generated markup from engines and databases
- Offer a text-only board mode (coordinates + piece letters) as an alternative
- Use
\265Aonly inside CSScontent, not inside HTML text nodes - Pair king glyphs with clear check/mate wording for screen reader users
Don’t
- Confuse black king U+265A with white king U+2654 in data or CSS
- Rely on a lone ♚ glyph as the only signal for checkmate or game result
- Assume every visitor reads figurine notation without a legend
- Ship critical tournament UI using only dingbats without accessible fallbacks
- Forget RTL: mixed LTR coordinates with RTL UI can reorder inline pieces oddly
Key Takeaways
Two numeric references render the same glyph
♚ ♚CSS content escape
\265AU+265A is black king; U+2654 is white king
Chess pieces U+2654–U+265F share one Unicode subrange in Miscellaneous Symbols
Pair glyphs with text, coordinates, or ARIA for inclusive chess UX
❓ Frequently Asked Questions
♚ (hex), ♚ (decimal), or \265A in CSS content. There is no named entity; all valid methods render ♚.U+265A (hex 265A, decimal 9818). Miscellaneous Symbols. Unicode name BLACK CHESS KING.\265A escape belongs in stylesheets (for example on pseudo-elements). Do not paste CSS escapes into HTML text nodes.♚, ♚, or \265A in CSS depending on whether you are authoring markup or styles.Explore More HTML Entities!
Discover 1500+ HTML character references — currency symbols, arrows, math operators, emojis, and more.
8 people found this page helpful
