View video tutorial
HTML Emojis
HTML
HTML emojis (like 😍
, 🌼
, 🌈
) are characters but look like small image or icon.
Entity character for emojis
Emojis are characters from UTF-8 character set.
<meta charset="UTF-8">
Emojis characters can displayed by entity character numbers (Hexadecimal or Decimal).
Emojis character number is preceded by an ampersand (&) and succeeded by a semicolon (;) ie: 😍
is for emoji 😍
, 🌼
is for emoji 🌼
, 🌈
is for emoji 🌈
Learning with HTML Editor "Try it Now"
You can edit the HTML code and view the result using online editor.
Example
<!DOCTYPE html>
<html>
<head>
<title>HTML Emoji Characters</title>
<meta charset="utf-8"/>
</head>
<body>
<p>Example: HTML Entity Symbol</p>
<h1>😍 is the character number for 😍 emoji.</h1>
<h1>🌼 is the character number for 🌼 emoji.</h1>
</body>
</html>
Click on the "Try it Now" button to see how it works.