Loading
Emojis are small icons used to visually express feelings, actions or ideas. They add a fun and engaging touch to web content, making it feel more relatable and expressive.
In HTML, emojis are treated as characters from the UTF-8 character set, which supports a wide range of symbols and characters, including emojis.

How Emojis Work in HTML
To make sure emojis are displayed correctly, your HTML document should use UTF-8 encoding. This is done using the following line in the <head> section.
<meta charset="UTF-8">
Then, you can use emojis by directly placing the emoji character or using their HTML entity codes (also called numeric character references).

Syntax:
<meta charset="UTF-8">
&#128512;

  • &#128512; is the Unicode character for the 'Grinning Face' emoji
  • You can replace the number with any emoji code.
Example:
<!DOCTYPE html>
<html>
 <head>
  <meta charset="UTF-8">
  <title>Emoji Example</title>
 </head>
 <body>
  <h1>Emojis Example</h1>
  <p>Laughing Emoji: &#128512;</p>
 </body>
</html>

Output:
Uploaded Image


Commonly Used Emojis (with HTML Codes)
EmojiDescriptionHTML Code
😀
Grinning Face&#128512;
😂
Face with Tears of Joy
&#128514;
😊
Smiling Face with Smiling Eyes
&#128522;
😍
Heart Eyes
&#128525;
🤔
Thinking Face
&#129300;
😎
Cool Face (Sunglasses)&#128526;
😢
Crying Face
&#128546;
😡
Angry Face
&#128545;
🥳
Party Face
&#129395;
🙏
Folded Hands / Thanks
&#128591;
Red Heart&#10084;
💯
100 Points / Perfect&#128175;
🔥
Fire / Trending
&#128293;
💻
Laptop / Tech
&#128187;
📱
Mobile Phone
&#128241;
🧠
Brain (Smart)&#129504;
Sparkles / Shine
&#10024;
📝
Writing / Notes
&#128221;

Fun Fact
  • You can also copy-paste emojis directly.
  • They work across most modern browsers and devices.
Tips
  • Always use <meta charset="UTF-8"> to avoid emoji display issues.
  • Use emojis sparingly for a professional yet friendly touch.
  • Great for adding emotional cues in user interfaces, notifications or blog posts!