HTML Emojis

❮ Previous Home Next ❯

Emojis are letters (characters) from the UTF-8 (Unicode) character set.

The element in HTML defines the character set:

<meta charset="UTF-8">

Many UTF-8 characters cannot be typed on a keyboard, but they can always be displayed using numbers (called entity numbers).

To let the browser understand that you are displaying a character, you must start the entity number with &# and end it with ; (semicolon).




UTF-8 Characters

This example shows how to use utf-8 characters:

Example

<p>Alphabet: A B C</p>
<p>HTML Entities: A B C</p>






Emoji Characters

This example shows how to use emoji characters:

Example

<p>Some Emojis</p>
<p>&#128513;</p>
<p>&#128509;</p>
❮ Previous Home Next ❯