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: &#128525; is for emoji 😍, &#127804; is for emoji 🌼, &#127752; 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>&#128525; is the character number for 😍 emoji.</h1>
       <h1>&#127804; is the character number for 🌼 emoji.</h1>
   </body>
</html>
Try it Now »

Click on the "Try it Now" button to see how it works.