-
Hajipur, Bihar, 844101
Hajipur, Bihar, 844101
HTML5 Basics
HTML Introduction
HTML Editors
HTML Basic
HTML Elements
HTML Attributes
HTML Headings
HTML Paragraphs
HTML Styles
HTML Formatting
HTML Quotations
HTML Comments
HTML Styling and Design
HTML Links and Media
HTML Layout and Structure
HTML Tables
HTML Lists
HTML Block & Inline
HTML Div
HTML Classes
HTML Id
HTML Head
HTML Layout
HTML Responsive
HTML Computercode
HTML Semantics
HTML Forms
HTML Forms
HTML Form Attributes
HTML Form Elements
HTML Input Types
HTML Input Attributes
Input Form Attributes
HTML Graphics
HTML APIs
HTML Advanced Topics
HTML Emojis are graphical icons or symbols used to express emotions, objects, symbols, or ideas in web pages. They are part of the Unicode standard and can be inserted in HTML using Unicode characters or entities.
Directly add emoji characters:
You can simply copy and paste emojis into your HTML code. Example: 😀
Use Unicode numeric entities:
Use &#code;
or &#xhexcode;
where the code corresponds to the emoji Unicode.
Example: 😀
or 😀
for 😀
Use emoji images or icon fonts:
Some sites use images or fonts like Twemoji or EmojiOne for consistent display.
<p>I am happy 😀</p>
<p>Thumbs up: 👍</p>
<p>Heart: ❤️</p>
<p>Rocket: 🚀</p>
<p>Smile face: 😊</p>
Emoji | Description | Decimal Code | Hex Code |
---|---|---|---|
😀 | Grinning Face | 😀 |
😀 |
😂 | Face with Tears of Joy | 😂 |
😂 |
❤️ | Red Heart | ❤ |
❤ |
👍 | Thumbs Up | 👍 |
👍 |
😍 | Smiling Face with Heart Eyes | 😍 |
😍 |
🎉 | Party Popper | 🎉 |
🎉 |
🚀 | Rocket | 🚀 |
🚀 |
Q1. Add a smiley face emoji to a paragraph.
Q2. Display a thumbs up emoji using numeric Unicode.
Q3. Show a heart emoji using both direct character and numeric entity.
Q4. Create a message that includes multiple emojis like 🎉 and 🚀.
Q5. Use an emoji to represent weather (e.g., sun ☀️).
Q6. Write an HTML page that shows a list of 5 emojis with their names.
Q7. Insert emoji inside a button element.
Q8. Use emojis in headings and paragraphs.
Q9. Display a combination of emojis and text to make an alert message.
Q10. Explain how to ensure emoji compatibility across browsers.
HTML5 Basics
HTML Introduction
HTML Editors
HTML Basic
HTML Elements
HTML Attributes
HTML Headings
HTML Paragraphs
HTML Styles
HTML Formatting
HTML Quotations
HTML Comments
HTML Styling and Design
HTML Links and Media
HTML Layout and Structure
HTML Tables
HTML Lists
HTML Block & Inline
HTML Div
HTML Classes
HTML Id
HTML Head
HTML Layout
HTML Responsive
HTML Computercode
HTML Semantics
HTML Forms
HTML Forms
HTML Form Attributes
HTML Form Elements
HTML Input Types
HTML Input Attributes
Input Form Attributes
HTML Graphics
HTML APIs
HTML Advanced Topics