Emojis in HTML

Emojis are made up of the following UTF-8 characters:🇯🇵 🇰🇷 🇩🇪 🇨🇳 🇺🇸 🇫🇷 🇪🇸 🇮🇹 🇷🇺 🇬🇧

What do Emojis mean?

Emojis look like pictures or icons, but they are not.

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

Almost all of the characters and symbols in the world can be used with UTF-8.

The HTML charset Attribute

The HTML charset attribute tells the computer what kind of characters to use.

A web browser needs to know the character set used on an HTML page in order to show it correctly.

This is what the <meta> tag says:

<meta charset=\”UTF-8\”>

If you don\’t tell HTML otherwise, UTF-8 will be used.

Characters in UTF-8

Many UTF-8 characters can\’t be typed on a keyboard, but they can always be shown using numbers (called entity numbers):

X is 88, Y is 89 and Z is 90

Example

<!DOCTYPE html>
<html>
<head>
<meta charset=\”UTF-8\”>
</head>
<body>

<p>I will display X Y Z</p>
<p>I will display &#88; &#89; &#90;</p>

</body>
</html>

Some Emoji Symbols in UTF-8

EmojiValue
🗻&#128507;
🗼&#128508;
🗽&#128509;
🗾&#128510;
🗿&#128511;
😀&#128512;
😁&#128513;
😂&#128514;
😃&#128515;
😄&#128516;
😅&#128517;
Related Article
Introduction to HTML

HTML Introduction – Learn the Basics of HTML HTML is the starting point of web development. Every website you see Read more

What is HTML

What Is HTML – Complete Beginner Explanation HTML is the foundation of the web. Every website you visit, from simple Read more

HTML Basic Examples

HTML Basic Examples – Learn HTML by Practice The best way to learn HTML is by writing and testing simple Read more

HTML text Editors

HTML Text Editors – Learn How to Write HTML Code To write HTML code, you need a text editor. A Read more

HTML Tags

Learn HTML Tags HTML tags are kind of like keywords that tell a web browser how to format and show Read more

HTML Elements

Elements make up an HTML file. These elements are what make web pages and tell you what content is on Read more

HTML Attributes

Attribute in HTML Attributes in HTML are special words that tell you more about an element. Attributes change the way Read more

HTML Headings

Headings in HTML The <h1> to <h6> tags are used to set up headings in HTML. <h1> shows which heading Read more