Q1. How can you add emojis to an HTML page?
Emojis can be added directly using Unicode characters, decimal references, or hexadecimal references like 😀 for 😀.
Q2. What is the character encoding required for emojis?
UTF-8 character encoding supports emojis. Set with <meta charset="UTF-8"> in the <head> section.
Q3. What is the difference between emojis and HTML entities?
Emojis are pictographic characters. HTML entities are codes for special characters like © for ©. Both use similar encoding.
Q4. How do you display the smiley face emoji using Unicode?
Use decimal 🙂 or hexadecimal 🙂 for a slightly smiling face. Many emoji codes are available online.
Q5. Do all browsers support emojis?
Modern browsers support emojis well, but older browsers may display empty boxes. UTF-8 encoding ensures proper display.
