White Smiling Face

Shortcodes

Copy and paste codes for White Smiling Face symbol ☺ to use in your websites, apps, blogs, and more.

Unicode
U+263A
Alt Code
1
HTML Code
☺
HEX Code
☺
CSS Code
\263A
JS/JSON
\u263A
Unix/C/PHP/JAVA
0x263A
URL-encode
%E2%98%BA
copied

Customize White Smiling Face Symbol

Customize ☺ symbol as you like and download White Smiling Face as SVG or PNG or copy its HTML code to use in your projects.

Preview helps customize symbol. Downloaded image and HTML code may have size/spacing differences.
 

How to type White Smiling Face symbol ☺ ?

Using White Smiling Face Alt Code:

You can type the White Smiling Face symbol ☺ using your keyboard by using the Alt Code for White Smiling Face. Before you begin, ensure that your Num Lock is turned on, and use the Numpad to type the code. Then, follow these simple steps:

  1. Hold down the Alt key on your keyboard.
  2. Type the number 1 using the Numpad.
  3. Release the Alt key.

This will make the ☺ appear on your screen.

How to add White Smiling Face symbol in HTML, CSS, and JS?

Insert ☺ White Smiling Face using HTML

1. Copy-paste White Smiling Face directly:
<span>☺</span>
2. HTML Decimal Code:
<span>&#9786;</span>
3. Hexadecimal Code:
<span>&#x263A;</span>
Preview:

Add White Smiling Face symbol with CSS

.white-smiling-face::before {
    content: '\\263A';
}
Preview: White Smiling Face

White Smiling Face JavaScript Code

1. Direct Symbol:
document.querySelector('.white-smiling-face').textContent = '☺';
2. Unicode Escape for ☺:
document.querySelector('.white-smiling-face').textContent = '\u263A';
Preview: