Home·Special characters

Special characters

Keyboard · U+21E7

UnicodeU+21E7 (8679)
HTML entity⇧
CSScontent: "\21E7"
JavaScript"\u21E7"
URL encoded%E2%87%A7
UTF-8 size3 bytes
CategoryKeyboard

Keyboard symbols such as Command and Option, used when writing shortcuts.

How to read this

  • A Unicode code point is a name tag unique to each character. Different fonts, same number — still the same character.
  • In HTML, the numeric form &#number; works everywhere. Named entities like ♥ read nicer but exist only for some characters.
  • In CSS, use a backslash and hexadecimal: content: "\2764".
  • If the character shows as a box, the copy did not fail — that font simply has no glyph for it. Another font will show it.

Frequently asked questions

Q. What is the Unicode code point of ⇧?

U+21E7, which is 8679 in decimal. Stored as UTF-8 it takes 3 bytes.

Q. How do I write ⇧ in HTML?

Use ⇧ and every browser shows the same character. This character has no named entity, so the numeric form is the one to use.

Q. How do I use ⇧ in CSS or JavaScript?

In CSS, content: "\21E7". In JavaScript, "\u21E7". In a URL it becomes %E2%87%A7.

Q. What kind of character is ⇧?

It belongs to the keyboard group. The rest of that group is listed further down this page, ready to copy.

Other characters in the same group