HTML Entity for Up Arrow Left Down Arrow (⇅)

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

What You'll Learn

How to display the Up Arrow Left Down Arrow (⇅) in HTML using hexadecimal, decimal, the named entity ⇅, and CSS escape methods. This character is U+21C5 (UP DOWN ARROW) in the Arrows block (U+2190–U+21FF)—a bidirectional vertical arrow used in sort controls, scroll indicators, and expand/collapse UI.

Render it with ⇅, ⇅, ⇅, or CSS escape \21C5. Compare ↑ (up arrow, ↑) and ↓ (down arrow, ↓) for single-direction arrows.

⚡ Quick Reference — Up Arrow Left Down Arrow

Unicode U+21C5

Arrows block

Hex Code ⇅

Hexadecimal reference

HTML Code ⇅

Decimal reference

Named Entity ⇅

HTML5 named entity for U+21C5

Reference Table
Name           Value
────────────   ──────────
Unicode        U+21C5
Hex code       ⇅
HTML code      ⇅
Named entity   ⇅
CSS code       \21C5
Official name  UP DOWN ARROW
Related        U+2191 = Up (↑); U+2193 = Down (↓)
Block          Arrows (U+2190–U+21FF)
1

Complete HTML Example

A simple example showing ⇅ with hex, decimal, named entity, and CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point::after{
   content: "\21C5";
  }
 </style>
</head>
<body>
<p>Up Down Arrow (hex): &#x21C5;</p>
<p>Up Down Arrow (decimal): &#8645;</p>
<p>Up Down Arrow (entity): &udarr;</p>
<p id="point">Up Down Arrow (CSS): </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

U+21C5 is widely 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 Arrow Left Down Arrow (⇅) in UI contexts:

Large glyph
Sort control Name ⇅
Scroll Scroll ⇅
vs single arrows ⇅ both   ↑ up   ↓ down
Named entity &udarr; → ⇅
All HTML refs &#x21C5; &#8645; &udarr;

🧠 How It Works

1

Hexadecimal Code

&#x21C5; uses the Unicode hexadecimal value 21C5 to display the Up Down Arrow. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

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

HTML markup
3

Named HTML Entity

&udarr; is the HTML5 named entity for U+21C5. It is easy to read in source and resolves to the same character (⇅).

HTML markup
4

CSS Entity

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

CSS stylesheet
=

Same visual result

All four methods produce: . Unicode U+21C5 in the Arrows block (U+2190–U+21FF). Ideal for bidirectional vertical movement in sort and scroll UI.

Use Cases

The Up Arrow Left Down Arrow (⇅) is commonly used in:

📊 Sort controls

Table headers and data grids indicating sortable columns in both directions.

📜 Scroll indicators

Scroll bars and controls showing both upward and downward scrolling.

📂 Expand/collapse

Accordions and collapsible sections with bidirectional vertical movement.

🎨 UI design

Buttons and interactive elements needing bidirectional vertical cues.

🛠 Iconography

Icon sets and design systems with up-down arrow symbols.

💻 Web applications

Dashboards and software interfaces with vertical navigation controls.

💡 Best Practices

Do

  • Use &udarr; for readable markup, or &#x21C5; / &#8645;
  • Add aria-label when the arrow conveys sort or scroll meaning
  • Pair with labels in sortable table headers and scroll controls
  • Use \21C5 in CSS ::before / ::after for sort icons
  • Serve pages with UTF-8 (<meta charset="utf-8">)

Don’t

  • Confuse ⇅ (&udarr;) with separate ↑ and ↓ stacked manually
  • Use U+021C5 or CSS \021C5—the correct value is U+21C5 and \21C5
  • Put CSS escape \21C5 in HTML text nodes
  • Rely on the symbol alone without context in accessibility-critical UIs
  • Assume decorative fonts include all Arrows glyphs

Key Takeaways

1

Named entity available: &udarr;

&#x21C5; &#8645;
2

For CSS stylesheets, use \21C5 in content

3

Unicode U+21C5 — UP DOWN ARROW

4

Single arrows: ↑ &uarr; and ↓ &darr;

5

Four methods, one glyph — widely supported in modern browsers

❓ Frequently Asked Questions

Use &#x21C5; (hex), &#8645; (decimal), &udarr; (named entity), or \21C5 in CSS content. All produce ⇅.
U+21C5 (UP DOWN ARROW). Arrows block (U+2190–U+21FF). Hex 21C5, decimal 8645. A bidirectional vertical arrow.
In sort controls, scroll indicators, expand/collapse UI, table column headers, and any interface needing bidirectional vertical movement cues.
&udarr; is easier to read in source than &#8645; or &#x21C5;, but all produce ⇅. The named entity is part of the HTML5 entity set for arrows.
HTML references (&#8645;, &#x21C5;, or &udarr;) go in markup. The CSS escape \21C5 is used in stylesheets, typically in the content property of pseudo-elements.

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