ASWCode Tutorials

Learn Web Development - From Basics to Advanced

Using Emojis in HTML

Emojis are fun icons you can use in your HTML content. They make your website more friendly and engaging.

1. Using Copy-Paste

You can simply copy emojis and paste them directly into HTML:

<p>I love coding! 😃💻</p>

I love coding! 😃💻

2. Using Unicode

Use Unicode values with &#; or &#x; format:

<p>Smile: &#128512; | Heart: &#10084; </p>

Smile: 😀 | Heart: ❤

3. Common Emojis

EmojiHTML Code
😀&#128512;
❤️&#10084;
🔥&#128293;
🎉&#127881;

4. Why Use Emojis?

Next Lesson → HTML Encoding (Character Sets)

Previous Lesson → HTML Symbols

← Back