HTML Entity for Up White Arrow (⇧)

Beginner
⏱️ 5 min read
📚 Updated: Jun 2026
🎯 1 Code Example
Unicode U+21E7

What You'll Learn

How to display the Up White Arrow (⇧) in HTML using hexadecimal, decimal, and CSS escape methods. This character is U+21E7 (UPWARDS WHITE ARROW) in the Arrows block (U+2190–U+21FF)—a hollow-style upward arrow used for navigation icons, scroll-to-top controls, and UI design. It is also widely recognized as the Shift key symbol on keyboards.

Render it with ⇧, ⇧, or CSS escape \21E7. There is no named HTML entity for this symbol. Pair with Down White Arrow (⇩, U+21E9) for vertical UI pairs, or use ↑ (↑, single up arrow) for a filled-style alternative.

⚡ Quick Reference — Up White Arrow

Unicode U+21E7

Arrows block

Hex Code ⇧

Hexadecimal reference

HTML Code ⇧

Decimal reference

Named Entity

Use numeric codes only

Reference Table
Name           Value
────────────   ──────────
Unicode        U+21E7
Hex code       ⇧
HTML code      ⇧
Named entity   (none)
CSS code       \21E7
Official name  UPWARDS WHITE ARROW
Also known as  Shift key symbol (⇧)
Related        U+21E9 = Down white arrow; U+2191 = Up arrow (↑)
Block          Arrows (U+2190–U+21FF)
1

Complete HTML Example

A simple example showing ⇧ with hex, decimal, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point::after{
   content: "\21E7";
  }
 </style>
</head>
<body>
<p>Up White Arrow (hex): &#x21E7;</p>
<p>Up White Arrow (decimal): &#8679;</p>
<p id="point">Up White Arrow (CSS): </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

U+21E7 is supported in modern browsers when rendered with a font that includes Arrows:

Chrome 1+
Firefox 1+
Safari 1+
Edge 12+
Opera 4+
Android 4.4+
iOS Safari 1+

👀 Live Preview

See the Up White Arrow (⇧) in navigation and UI contexts:

Large glyph
Scroll to top Top ⇧
Shift key ⇧ + A = uppercase A
vs down white ⇧ up   ⇩ down
Numeric refs &#x21E7; &#8679; \21E7

🧠 How It Works

1

Hexadecimal Code

&#x21E7; uses the Unicode hexadecimal value 21E7 to display the Up White Arrow. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

&#8679; uses the decimal Unicode value 8679 to display the same character.

HTML markup
3

CSS Entity

\21E7 is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.

CSS stylesheet
=

Same visual result

All three methods produce: . Unicode U+21E7. No named HTML entity—use numeric codes in markup. Serve HTML as UTF-8.

Use Cases

The Up White Arrow (⇧) is commonly used in:

🔝 Scroll to top

Back-to-top buttons and upward navigation in long pages.

⌨ Keyboard shortcuts

Shift key notation in help text and shortcut documentation.

💻 UI design

Navigation icons, buttons, and upward directional indicators.

📜 Navigation

Menus, toolbars, and wayfinding with upward movement cues.

📖 Documentation

“Scroll up” or “see above” in docs and help content.

🎨 Web design

Directional cues in headers, design systems, and mobile UI.

💡 Best Practices

Do

  • Use &#x21E7; or &#8679; consistently in markup
  • Add aria-label when the symbol means scroll up, Shift, or move upward
  • Pair ⇧ with a visible label or tooltip in UI controls
  • Use \21E7 in CSS ::before / ::after for up-arrow icons
  • Serve pages with UTF-8 (<meta charset="utf-8">)

Don’t

  • Expect a named entity—none exists for U+21E7
  • Confuse ⇧ (white up) with ⇩ (white down) or ↑ (&uarr;, filled up)
  • Put CSS escape \21E7 in HTML text nodes
  • Rely on the symbol alone in accessibility-critical UIs
  • Assume decorative fonts include all Arrows glyphs

Key Takeaways

1

Two HTML numeric references render ⇧

&#x21E7; &#8679;
2

For CSS stylesheets, use the escape in the content property

\21E7
3

Unicode U+21E7 — UPWARDS WHITE ARROW (Shift key symbol)

4

Arrows block (U+2190–U+21FF)

5

Paired with ⇩ (Down White Arrow) for vertical UI indicators

❓ Frequently Asked Questions

Use &#x21E7; (hex), &#8679; (decimal), or \21E7 in CSS content. There is no named entity. All produce ⇧.
U+21E7 (UPWARDS WHITE ARROW). Arrows block (U+2190–U+21FF). Hex 21E7, decimal 8679. Commonly used for navigation and as the Shift key symbol.
For navigation icons, scroll-to-top controls, UI design, keyboard shortcut documentation (Shift key), directional indicators, and web interfaces needing an upward white arrow.
HTML references (&#8679; or &#x21E7;) go in markup. The CSS escape \21E7 is used in stylesheets, typically in the content property of pseudo-elements. Same visual result, different layers of the stack.
Named entities cover common ASCII, Latin-1, and frequently used symbols. Many Arrows block characters including U+21E7 have no named entity—use &#x21E7; or &#8679; in HTML.

Explore More HTML Entities!

Discover 1500+ HTML character references — arrows, symbols, math operators, and more.

All HTML Entities →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful