Smal SEO Tool

HTML Emojis

Emojis are characters from the UTF-8 character set. Emojis look like images, or icons, but they are not.

Using Emojis in HTML

Since emojis are characters, they can be copied, displayed, and sized just like any other character in HTML. To correctly display emojis, your HTML page must specify the UTF-8 character set:

html
<meta charset="UTF-8">

Example: Displaying Emojis

You can use the emoji character directly or its character entity number.

😀 😄 😍

html
<p>&#128512; &#128516; &#128525;</p>

Test Yourself with an Exercise

To display an emoji, what character set should your page use?