HTML Entity for Black Chess King (♚)

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

What Is the Black Chess King?

Black chess king (♚) is Unicode U+265A in the Miscellaneous Symbols block. It is the filled chess piece for the black king. HTML has no standard named entity — use numeric or CSS forms (or type the character in UTF-8).

Remember
Character     ♚
Unicode       U+265A
Hex entity    ♚
Decimal       ♚
Named entity  (none)
CSS escape    \265A
Not the same  ♔ U+2654 (white king)

All of these produce the same glyph: ♚. Prefer typing ♚ in UTF-8 when you can; use ♚ / ♚ or CSS for generated content.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct character♚HTML text (UTF-8)
Named entityNone—
Hex entity♚HTML markup
Decimal entity♚HTML markup
CSS escape\265AStylesheet content

When to Use Which

SituationUse
Black king on a board / diagram♚ or type ♚
White king♔ (U+2654)
Black queen / bishop♛ / ♝
Need an entity in HTML source♚ or ♚
Icon via CSScontent: "\265A" on ::before

Live Preview

Black chess king in board and study contexts.

Square label ♚ on e8
Large glyph ♚
vs. white king ♚ black  ·  ♔ white
Accessible label black king
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 (no named entity).

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Black Chess King (♚) in HTML</title>
  <style>
    #point::after {
      content: "\265A";
    }
  </style>
</head>
<body>
  <p>Black chess king using Hex Code: &#x265A;</p>
  <p>Black chess king using HTML Code: &#9818;</p>
  <p id="point">Black chess king using CSS Entity: </p>
  <p>Typed directly: ♚</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+265A → &#x265A; in HTML. The browser turns it into ♚.

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

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

4. Typed ♚: fine in UTF-8 source. All four lines show the same glyph.

Pitfalls & Tips

Common mistakes when working with black chess king (♚).

Named

No &name; form

U+265A has no standard named entity — use &#x265A; or &#9818;.

♔

Not the white king

For the white piece use ♔ (U+2654).

a11y

Say “black king”

Screen readers may not announce the piece. Add visible or tut-sr-only text.

Fonts

Use chess-capable fonts

Some UI fonts omit chess glyphs. Prefer fonts with solid Miscellaneous Symbols coverage.

CSS vs HTML

Do not mix escapes

\265A belongs in CSS. &#x265A; / &#9818; belong in HTML.

Semicolon

End references

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

Browser Support

Black chess king (U+265A) and its entity forms (&#x265A;, &#9818;, CSS \\265A) are supported in all mainstream browsers. Glyph quality depends on font support for chess symbols.

✓ Universal support

Black Chess King (♚)

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+265A / entities Full support

Bottom line: Prefer a typed ♚ or &#x265A; on boards. Use decimal when generating markup, and \\265A only inside CSS content.

Key Takeaways

  • Unicode: black chess king is U+265A (decimal 9818).
  • HTML: use &#x265A; or &#9818; (no named entity).
  • CSS: use \265A inside content for generated icons.
  • Watch out: ♚ ≠ ♔ (black ≠ white king).

One line: U+265A → &#x265A; / &#9818; / CSS \265A.

Frequently Asked Questions

Use &#x265A; (hex), &#9818; (decimal), or the CSS escape \265A in the content property. All render ♚. You can also paste ♚ directly if your file is UTF-8. There is no standard named entity.
U+265A (hex 265A, decimal 9818). Unicode names it BLACK CHESS KING. It belongs to the Miscellaneous Symbols block.
No. HTML5 / WHATWG does not define a named character reference for U+265A. Prefer &#x265A;, &#9818;, or a typed ♚ in UTF-8.
♚ (U+265A) is the black chess king. ♔ (U+2654) is the white chess king. They are different code points — do not swap them on a board.
HTML entities (&#9818; or &#x265A;) go in markup. The CSS escape \265A is used in stylesheets (usually in the content property of ::before/::after). Both render ♚.
In chess boards, PGN viewers, puzzles, and check/checkmate UI that show the black king. Pair the glyph with “king” or K when accessibility matters.

Did you know?

Black chess king is Unicode U+265A (decimal 9818) in the Miscellaneous Symbols block — official name BLACK CHESS KING. There is no standard named HTML entity. It is not the white king (U+2654 ♔).

Next: Black Chess Knight

Learn the HTML entity for the black chess knight (♞).

Next 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