HTML Entity for White Chess Knight (♘)

What You'll Learn
How to display the White Chess Knight (♘) in HTML using hexadecimal, decimal, and CSS escape methods. This character is U+2658 (WHITE CHESS KNIGHT) in the Miscellaneous Symbols chess range (U+2654–U+265F)—the standard Unicode glyph for the white knight chess piece on boards, tutorials, and notation.
Render it with ♘, ♘, or CSS escape \2658. There is no named HTML entity. White starts with knights on b1 and g1; the knight moves in an L-shape and is the only piece that may jump over occupied squares. Do not confuse ♘ with black knight ♞ (U+265E).
⚡ Quick Reference — White Chess Knight
U+2658Miscellaneous Symbols (chess range)
♘Hexadecimal reference
♘Decimal reference
—Use numeric codes only
Name Value
──────────── ──────────
Unicode U+2658
Hex code ♘
HTML code ♘
Named entity (none)
CSS code \2658
Meaning White chess knight
Related U+265E = ♞ (black chess knight)
U+2654 = ♔ (white chess king)
Block Miscellaneous Symbols (U+2654–U+265F chess pieces)Complete HTML Example
A simple example showing the White Chess Knight (♘) using hexadecimal code, decimal HTML code, and a CSS content escape:
<!DOCTYPE html>
<html>
<head>
<style>
#point:after{
content: "\2658";
}
</style>
</head>
<body>
<p>White Chess Knight (hex): ♘</p>
<p>White Chess Knight (decimal): ♘</p>
<p id="point">White Chess Knight (CSS): </p>
</body>
</html>🌐 Browser Support
U+2658 is supported in modern browsers when rendered with a font that includes chess piece glyphs:
👀 Live Preview
See the White Chess Knight (♘) in chess contexts:
🧠 How It Works
Hexadecimal Code
♘ uses the Unicode hexadecimal value 2658 to display the White Chess Knight. The x prefix indicates hexadecimal format.
Decimal HTML Code
♘ uses the decimal Unicode value 9816 to display the same character. A common method for chess piece symbols in HTML.
CSS Entity
\2658 is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.
Same visual result
All three methods produce the glyph: ♘. Unicode U+2658 is the white knight in the chess piece range. Not the same as ♞ (black knight).
Use Cases
The White Chess Knight (♘) is commonly used in:
Online chess platforms and game applications.
Educational content about knight moves and strategy.
Graphic design, logos, and chess-themed projects.
Board game interfaces and interactive chess content.
Chess lessons and instructional material about rules.
Game websites and interfaces featuring chess.
Move annotations, game records, and PGN content.
💡 Best Practices
Do
- Pair ♘ with
aria-label="white knight"or visible text on boards - Use numeric references when escaping is required
- Pick one style (hex or decimal) per project for consistency
- Use serif or chess-friendly fonts for piece glyphs
- Distinguish white knight U+2658 from black knight U+265E
Don’t
- Confuse white knight ♘ with black knight ♞
- Mix entity styles randomly in one file
- Use CSS escape
\2658inside HTML markup - Expect a named HTML entity—none exists for ♘
- Rely on color alone to show piece side—use the correct Unicode code point
Key Takeaways
Type ♘ directly, or use hex/decimal references
♘ ♘For CSS stylesheets, use the escape in the content property
\2658Unicode U+2658 — WHITE CHESS KNIGHT (chess piece range)
Black knight is U+265E (♞) — not interchangeable
Previous: White Chess King (♔) Next: White Chess Pawn
❓ Frequently Asked Questions
♘ (hex), ♘ (decimal), or \2658 in CSS content. There is no named HTML entity. In UTF-8 you can also type ♘ directly.U+2658 (WHITE CHESS KNIGHT). Chess piece range U+2654–U+265F within Miscellaneous Symbols. Hex 2658, decimal 9816. Black knight is U+265E (♞).♘ or ♘) go directly in markup. The CSS escape \2658 is used in stylesheets, typically in the content property of ::before or ::after. Same visual result, different layers of the stack.♘ or ♘ in HTML, or \2658 in CSS.Explore More HTML Entities!
Discover 1500+ HTML character references — symbols, punctuation, and more.
8 people found this page helpful
