You are able to use emojis in your programs using HTML. To use emojis, you can paste the decimal or hexadecimal reference, unicode, or you can use the HTML code or entity followed by a semicolon.

You should not paste the emoji directly into your code. Please note that not every emoji is supported in all browsers.

Reference Type

Prefix

Example

Emoji

Hexadecimal

&#x

🎵

🎡

Decimal

&#

🦁

🦁

Unicode

&#x

↓

↓

HTML code

&#

☀

β˜€

HTML entity

&

→

β†’

You can view these emojis in a program here!

Check out some example emoji and symbol reference sites below:

Still have questions? Ask your teacher to learn more!

Did this answer your question?