Skip to main content
For Students: Using Emojis in CodeHS

Learn how to use emojis in some CodeHS programs

Sara Jenis avatar
Written by Sara Jenis
Updated over a week ago

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!

Interested in seeing emojis that differ from the ones listed in the table? Check out the reference websites listed below to see other examples of emojis and symbols:

Did this answer your question?