Emojis are characters from the UTF-8 character set. Since HTML5, the default character set is UTF-8. Emojis look like images, but they are actually letters (characters) from the UTF-8 alphabet.
😀😀Always include <meta charset="UTF-8"> in your HTML head.
Edit the code below and click Run to see the result live.