The Tech Platform

Jun 30, 20211 min

How to Add Emojis in HTML

Emojis are the Characters from the UTF-8 character sets. Emojis are letters (Characters) from UTF-8 character set.

UTF-8 (Universal Transformation Format - 8 bit)

UTF-8 is a variable width character encoding used for electronic communication. It is capable of encoding all 1,112,064 valid characters code points in Unicode using 8bits code units.

The <meta charset="UTF-8"> elements defines the character set.

A=65

B=66

C=67 and so on.

Emoji Symbols

Here we have some of the Emoji Symbols in UTF - 8

For other emojis characters visit - Emoji Character set

Example:

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

 
<h1>HTML Emojis</h1>
 

 
<p style="font-size:70px">
 
&#128507;
 
&#128508;
 
&#128509;
 
&#128510;
 
&#128511;<br>
 
&#128512;
 
&#128513;
 
&#128514;
 
&#128515;
 
&#128516;
 
&#128517;
 
</p>
 

 
</body>
 
</html>

Output:

The Tech Platform

www.thetechplatform.com

    0