</> Code Corner

HTML · HTML Tutorial · Lesson 36

HTML Emojis

Emojis are characters from the UTF-8 set.

Emojis look like images, but they are characters from the UTF-8 (Unicode) character set. They can be copied, displayed and sized like any other character.

Example

<meta charset="UTF-8">
<h1>My First Emoji</h1>
<p style="font-size:48px">&#128512; &#128516; &#128525; &#128151;</p>

Because emojis are characters, you can change their size with CSS font-size.

Emoji Value
😀 &#128512;
😄 &#128516;
😍 &#128525;
💗 &#128151;

Keep reading “HTML Emojis”

Sign up to read the full lesson, try every example in the live editor, and take the 5-question quiz.

Chat with us 👋