HTML Entity for Bidirectional Arrow Block (↹)

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

What You'll Learn

How to display the glyph used on many Tab key legends. Its official Unicode name is LEFTWARDS ARROW TO BAR OVER RIGHTWARDS ARROW TO BAR (U+21B9), in the Arrows block. Tutorials often call it the “bidirectional arrow block” or tab-with-shift-tab symbol; it is a visible character, not the invisible ASCII tab control (U+0009).

There is no named HTML entity for U+21B9. Use ↹ or ↹ in markup, or \21B9 in stylesheet content. Pair the glyph with the words Tab or Shift+Tab in UI copy so users are not guessing from the icon alone.

⚡ Quick Reference — Bidirectional Arrow Block

Unicode U+21B9

Arrows

Hex Code ↹

Hexadecimal reference

HTML Code ↹

Decimal reference

Named Entity

None (use numeric refs)

Reference Table
Name           Value
────────────   ──────────
Unicode        U+21B9
Hex code       ↹
HTML code      ↹
Named entity   —
CSS code       \21B9
1

Complete HTML Example

This example shows U+21B9 using hexadecimal and decimal character references, plus a CSS content escape on a pseudo-element:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\21B9";
  }
 </style>
</head>
<body>
<p>Bidirectional Arrow Block using Hexa Decimal: &#x21B9;</p>
<p>Bidirectional Arrow Block using HTML Code: &#8633;</p>
<p id="point">Bidirectional Arrow Block using CSS Entity: </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

U+21B9 is widely supported as part of the BMP Arrows block; glyph shape varies by typeface:

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

👀 Live Preview

Compare U+21B9 with other common arrows (fonts may differ):

Tab-style glyph ↹ Tab
Large glyph
Arrow row ← → ⇄ ↹
Not ASCII tab U+0009 is invisible; U+21B9 is the visible ↹ symbol.
Monospace refs &#x21B9; &#8633; \21B9

🧠 How It Works

1

Hexadecimal Code

&#x21B9; references code point U+21B9 using hex digits 21B9 after the #x prefix.

HTML markup
2

Decimal HTML Code

&#8633; is the decimal equivalent (8633) for the same character.

HTML markup
3

CSS Entity

\21B9 is the CSS escape for U+21B9, used in the content property of ::before or ::after.

CSS stylesheet
=

Same visual result

Hex, decimal, and CSS escapes all produce . There is no named HTML entity for U+21B9.

Use Cases

The U+21B9 symbol (↹) is commonly used for:

⌨ Keyboard UI

On-screen keyboards, keycap diagrams, and shortcut cheat sheets.

📋 Forms & focus

Hints next to fields that explain Tab moves focus between controls.

📚 Documentation

IDE and authoring-tool docs that show the Tab / Shift+Tab legend.

🔄 Flow diagrams

Lightweight inline icons for two-way navigation when bars suggest endpoints.

🔧 App toolbars

Editor chrome where a single glyph must read as “indent / outdent” at a glance.

💻 Training sites

Beginner HTML courses that teach character references with familiar key shapes.

♿ Accessibility

Always add visible text or aria-label (“Tab”) so the arrow is not the only cue.

💡 Best Practices

Do

  • Pair ↹ with the words Tab or Shift+Tab in UI strings and documentation
  • Prefer numeric references; they are unambiguous across HTML parsers
  • Test on Windows and macOS: system sans fonts draw U+21B9 with slightly different weights
  • Use \21B9 only inside CSS content, not inside HTML text nodes
  • When you truly need a tab character in source, use U+0009 in UTF-8 or an escaped literal in code samples—not U+21B9

Don’t

  • Confuse the visible ↹ symbol (U+21B9) with the invisible tab control (U+0009)
  • Ship icon-only controls for critical navigation without accessible names
  • Assume readers know Unicode names; use plain language in product copy
  • Rely on ↹ alone to teach indentation in code blocks where monospace and spaces matter more
  • Forget RTL layouts: arrow-heavy rows may need mirroring or logical properties in bidi UIs

Key Takeaways

1

Two numeric references render the same glyph

&#x21B9; &#8633;
2

CSS content escape

\21B9
3

U+21B9 is a visible arrow, not ASCII tab U+0009

4

No &name; entity; stick to hex or decimal in HTML

5

Add text or ARIA labels whenever the glyph stands in for an action

❓ Frequently Asked Questions

Use &#x21B9; (hex), &#8633; (decimal), or \21B9 in CSS content. There is no named entity; all valid methods render ↹.
U+21B9 (hex 21B9, decimal 8633). Unicode name: LEFTWARDS ARROW TO BAR OVER RIGHTWARDS ARROW TO BAR. Arrows block.
When you need a visible Tab-key or bidirectional-to-bar arrow icon in HTML or CSS, not when you need whitespace alignment (that is U+0009 or CSS).
Numeric references belong in HTML. The \21B9 escape belongs in stylesheets (for example on pseudo-elements). Do not paste CSS escapes into HTML text nodes.
No. Use &#x21B9;, &#8633;, or \21B9 in CSS depending on whether you are authoring markup or styles.

Explore More HTML Entities!

Discover 1500+ HTML character references — currency symbols, arrows, math operators, emojis, 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