OnlineCBT Logo OnlineCBT
HTML Tutorial
HTML · LESSON 45

Emojis and Unicode

By Ratan Updated: 16 Oct 2026

Use Unicode characters, decimal/hexadecimal entity codes, and emojis in HTML documents.

Level: Beginner to Advanced
Duration: ~60 Mins Deep-Dive

1. Emojis and Unicode in HTML

Modern web browsers render emojis because they are standardized characters within the universal Unicode standard. Emojis are not graphic images; they are treated as scalable text fonts.

2. Specifying UTF-8 for Emoji Support

To ensure emojis and regional symbols render properly across all operating systems and browsers without breaking into garbled symbols (mojibake), your HTML document must declare UTF-8 encoding in the :


3. Using Emojis in HTML

You can paste emojis directly or use their Unicode decimal/hexadecimal entity codes:


Test Completed Successfully! 🎉 ✅

Time Remaining: ⏱️ 15 minutes

High Score: 🏆 (Trophy Emoji)

Target Exam: 🎯 (Direct Bullseye Emoji)

📝 Live Lesson Practice

HTML/CSS JavaScript Python C++ C PHP
⌨️ Practice Inputs (लाइव इनपुट भरें) (खाली होने पर RED, भरने पर GREEN underline)
💻 Code Editor (Monaco VS Code Engine)
👀 Live Preview
Address Contact

+91 7877547686

E-mail

onlinecbtportal@gmail.com

Helpline Number

+91 7877547686


Click To Download
Get it on Google Play

ऐप डाउनलोड करने
के लिए Google Play पर
उपलब्ध है

WhatsApp Chat