HTML CSS Bootstrap JavaScript jQuery MySQL PHP Data Mining

HTML Emojis

Emojis are characters from the UTF-8 character set. They are widely used on web pages to add visual interest and personality to content.


What is an Emoji?

Emojis look like images, but they are actually letters or characters in the UTF-8 character set. Many UTF-8 characters cannot be typed on a standard keyboard, so we use their hexadecimal numbers to display them in HTML.

Important: To properly display emojis, always declare <meta charset="UTF-8"> in your HTML <head> section.

How to Add Emojis

You can display emojis using their HTML entity decimal or hex code:

<p>I will display &#128512;</p>     <!-- Decimal -->
<p>I will display &#x1F600;</p>   <!-- Hexadecimal -->

I will display 😀

I will display 😀

You can also paste emoji characters directly into your HTML — they render fine in UTF-8:

<p>I love coding 💗</p>
<p>Let's go 🚀</p>

I love coding 💗

Let's go 🚀


Emoji Size

Since emojis are characters, you can change their size with CSS font-size:

<p style="font-size: 16px;">😀</p>
<p style="font-size: 32px;">😀</p>
<p style="font-size: 64px;">😀</p>

😀 (16px)

😀 (32px)

😀 (64px)


Common Emoji Reference

Emoji Description Decimal Code Hex Code
😀Grinning face&#128512;&#x1F600;
😁Beaming face with smiling eyes&#128513;&#x1F601;
😂Face with tears of joy&#128514;&#x1F602;
😄Grinning squinting face&#128516;&#x1F604;
😇Slightly smiling face&#128519;&#x1F607;
😍Smiling face with heart-eyes&#128525;&#x1F60D;
😜Winking face with tongue&#128540;&#x1F61C;
😩Sad but relieved face&#128553;&#x1F629;
🙄Unamused face&#128580;&#x1F644;
💗Purple heart&#128151;&#x1F497;
🚀Rocket&#128640;&#x1F680;
💻Laptop&#128187;&#x1F4BB;
🎉Party popper&#127881;&#x1F389;
🔥Fire&#128293;&#x1F525;
🌎Globe&#127758;&#x1F30E;
🛠Hammer and wrench&#128736;&#x1F6E0;
Tip: To find the code for any emoji, visit Unicode.org or search for "emoji unicode table". The hex code from Unicode maps directly to the HTML &#x... format.