HTML Entity for Left Right Arrow Stroke (↮)

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

What You'll Learn

How to display the Left Right Arrow Stroke (↮) in HTML using the named entity, hexadecimal, decimal, and CSS escape methods. This symbol is U+21AE (LEFT RIGHT ARROW WITH STROKE) in the Arrows block (U+2190–U+21FF)—a left-right arrow with a vertical stroke through it, often used to mean negation or exclusion in logic and set theory.

Render it with ↮ (named), ↮, ↮, or CSS \21AE. Do not confuse ↮ with U+2194 (↔, simple left right arrow / ↔) or U+21FC (⇼, double vertical stroke).

⚡ Quick Reference — Left Right Arrow Stroke

Unicode U+21AE

Arrows block

Hex Code ↮

Hexadecimal reference

HTML Code ↮

Decimal reference

Named Entity ↮

Most readable option

Reference Table
Name           Value
────────────   ──────────
Unicode        U+21AE
Hex code       ↮
HTML code      ↮
Named entity   ↮
CSS code       \21AE
Meaning        Left right arrow with stroke (negation)
Related        U+2194 = left right arrow (↔)
               U+21FC = double vertical stroke (⇼)
1

Complete HTML Example

A simple example showing the Left Right Arrow Stroke (↮) using the named entity, hexadecimal code, decimal HTML code, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\21AE";
  }
 </style>
</head>
<body>
<p>Arrow (hex): &#x21ae;</p>
<p>Arrow (decimal): &#8622;</p>
<p>Arrow (named): &nharr;</p>
<p id="point">Arrow (CSS): </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The Left Right Arrow Stroke (↮) is universally supported in all modern browsers when the font includes Arrows block glyphs:

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

👀 Live Preview

See the Left Right Arrow Stroke (↮) rendered live in different contexts:

Inline text A ↮ B means A does not relate to B in both directions.
Large glyph
Logic notation PQ — negated bidirectional relation
Diagram label Node A ↮ Node B
Arrow comparison ↔ ↮ ⇼
Numeric refs &nharr; &#x21AE; &#8622; \21AE

🧠 How It Works

1

Hexadecimal Code

&#x21AE; uses the Unicode hexadecimal value 21AE for the left right arrow with stroke. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

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

HTML markup
3

Named Entity

&nharr; is the semantic named entity — the easiest to read in source HTML and the most self-descriptive option.

HTML markup
4

CSS Entity

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

CSS stylesheet
=

Same visual result

All four methods produce . Unicode U+21AE is in the Arrows block. Previous: Left Right Arrow Double Vertical Stroke.

Use Cases

The Left Right Arrow Stroke (↮) is commonly used in:

📜 Logic & Negation

Indicate that a bidirectional relation does not hold (e.g. A ↮ B).

📐 Set Theory & Math

Denote exclusion or “not equivalent” in formal notation.

📄 Technical Documentation

Show that two items are not bidirectionally linked or mapped.

💻 User Interfaces

Display “no two-way connection” or disabled bidirectional actions.

📚 Academic & Research

Use in papers for logical or relational “not both ways” notation.

📊 Diagrams & Flowcharts

Mark edges or relations that are explicitly not bidirectional.

💡 Best Practices

Do

  • Use &nharr; for readable source markup
  • Add aria-label or surrounding text for accessibility
  • Verify your font supports the Arrows block (U+21AE)
  • Keep one entity style per project for consistency
  • Provide context when the symbol denotes negation or exclusion

Don’t

  • Confuse ↮ (stroked) with ↔ (simple left right arrow)
  • Use CSS \21AE inside HTML text nodes
  • Assume all fonts render the vertical stroke identically
  • Mix entity styles randomly in one file
  • Use the symbol without explaining its negation meaning on first use

Key Takeaways

1

Three HTML references plus CSS all render ↮

&#x21AE; &#8622; &nharr;
2

For CSS, use \21AE in the content property

3

Unicode U+21AE — LEFT RIGHT ARROW WITH STROKE

4

Prefer &nharr; for readability—it’s the named HTML entity

❓ Frequently Asked Questions

Use &#x21AE; (hex), &#8622; (decimal), &nharr; (named), or \21AE in CSS content. All four methods render ↮ correctly.
U+21AE (LEFT RIGHT ARROW WITH STROKE). Arrows block (U+2190–U+21FF). Hex 21AE, decimal 8622. Used for a left-right arrow with a vertical stroke, often meaning negation or exclusion.
In logic, set theory, technical documentation, and user interfaces to indicate that a bidirectional relation does not hold, or to show exclusion or negation (e.g. A ↮ B meaning A does not relate to B in both directions).
HTML references (&#8622;, &#x21AE;, or &nharr;) go in markup. The CSS escape \21AE is used in stylesheets, typically on ::before or ::after. Both produce ↮.
Yes. &nharr; is the named HTML entity for U+21AE. You can also use &#8622; (decimal) or &#x21AE; (hex) and \21AE in CSS.

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