HTML Entity for White Smiling Face (☺)

What You'll Learn
How to display White Smiling Face (☺) in HTML and CSS. This character is U+263A in the Miscellaneous Symbols block (U+2600–U+26FF), approved in Unicode 1.1 (1993). Its Unicode name is WHITE SMILING FACE—a white-outline smiley, one of the earliest emoticon-style symbols in digital typography. The counterpart Black Smiling Face (☻ U+263B) has a filled outline.
There is no named HTML entity for U+263A. Use ☺ or ☺ in markup, or \263A in stylesheet content. Do not confuse ☺ with modern emoji 😊 (U+1F60A) or ☻ (black smiling face). Use aria-hidden="true" when purely decorative, or visible text for meaningful emotional cues.
⚡ Quick Reference — White Smiling Face
U+263AMiscellaneous Symbols (U+2600–U+26FF)
☺Hexadecimal reference
☺Decimal reference
—None (use numeric refs)
Name Value
──────────── ──────────
Unicode U+263A
Hex code ☺
HTML code ☺
Named entity —
CSS code \263A
Meaning White smiling face
Related U+263B = ☻ (black smiling face)
Block Miscellaneous Symbols (U+2600–U+26FF)Complete HTML Example
This example shows U+263A using hexadecimal and decimal character references, plus a CSS content escape on a pseudo-element:
<!DOCTYPE html>
<html>
<head>
<style>
#point:after{
content: "\263A";
}
</style>
</head>
<body>
<p>White Smiling Face using Hexa Decimal: ☺</p>
<p>White Smiling Face using HTML Code: ☺</p>
<p id="point">White Smiling Face using CSS Entity: </p>
</body>
</html>🌐 Browser Support
U+263A is widely supported in modern browsers; smiley glyph artwork varies by typeface:
👀 Live Preview
See the glyph at different sizes and beside the black smiling face (font-dependent):
🧠 How It Works
Hexadecimal Code
☺ references code point U+263A using hex digits 263A after the #x prefix.
Decimal HTML Code
☺ is the decimal equivalent (9786) for the same White Smiling Face character.
CSS Entity
\263A is the CSS escape for U+263A, 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+263A. Not the same as ☻ (black smiling face) or emoji 😊.
Use Cases
White Smiling Face (☺) is commonly used for:
Buttons, notifications, and UI elements that convey friendliness and positive feedback.
Blog posts, articles, and content with a friendly, positive tone.
Social media posts, comments, and content expressing happiness or friendliness.
Help pages, support sections, and welcoming customer-service content.
Surveys, feedback forms, and user interaction elements encouraging positive responses.
Confirmation dialogs, success notifications, and positive status indicators.
Pair ☺ with text or aria-label when the symbol conveys emotional meaning.
💡 Best Practices
Do
- Use hex or decimal consistently—there is no named entity for U+263A
- Pair ☺ with ☻ (black smiling face) for contrast or mood variations
- Pair the symbol with clear context (e.g. success text or friendly labels) so meaning is clear
- Choose fonts that support the Miscellaneous Symbols block (U+2600–U+26FF)
- Use
\263Aonly inside CSScontent, not inside HTML text nodes - Use
aria-hidden="true"when purely decorative; add text when meaning matters
Don’t
- Confuse U+263A with U+263B (black smiling face) or modern emoji 😊 (different code points)
- Rely on ☺ alone to communicate critical emotional or status information
- Assume every font renders smileys crisply at small sizes
- Use smiley glyphs as the only feedback cue without visible text
- Mix CSS escapes into HTML text nodes (use numeric refs in markup)
Key Takeaways
Two numeric references render the same glyph
☺ ☺CSS content escape
\263AU+263A is WHITE SMILING FACE; pairs with Black Smiling Face U+263B
Miscellaneous Symbols block U+2600–U+26FF; no named HTML entity
Previous: White Shogi Piece (☖) Next: White Spade Suit (♤)
❓ Frequently Asked Questions
☺ (hex), ☺ (decimal), or \263A in CSS content. There is no named entity; all valid methods render ☺.U+263A (hex 263A, decimal 9786). Miscellaneous Symbols (U+2600–U+26FF). Unicode name WHITE SMILING FACE.\263A escape belongs in stylesheets (for example on pseudo-elements). Do not paste CSS escapes into HTML text nodes.☺, ☺, or \263A 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
