HTML Entity for Left Right Double Arrow Stroke (⇎)

Beginner
5 min read
Updated: Sep 2026
1 example
Unicode U+21CE

What Is the Left Right Double Arrow Stroke Entity?

Left Right Double Arrow Stroke (⇎) is the Arrows-block character at Unicode U+21CE (LEFT RIGHT DOUBLE ARROW WITH STROKE). A double bidirectional arrow is crossed by a stroke — often read as “not equivalent.”

Remember
Character     ⇎
Unicode       U+21CE
Hex entity    ⇎
Decimal       ⇎
Named entity  ⇎ · ⇎
CSS escape    \21CE
Not the same  ⇔ (⇔) · ↮ (↮)

All of these produce the same glyph: ⇎. Prefer ⇎ or ⇎ when you want an explicit entity.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Named entity⇎ / ⇎HTML markup (best entity default)
Hex entity⇎HTML markup
Decimal entity⇎HTML markup
CSS escape\21CEStylesheet content
Direct character⇎UTF-8 HTML text

When to Use Which

SituationUse
Readable HTML entity source⇎ or ⇎
Need a numeric entity⇎ or ⇎
Generated text via ::before / ::aftercontent: "\21CE"
Plain double left-right arrowUse ⇔ (U+21D4)
Single stroked left-right arrowUse ↮ (U+21AE)

Live Preview

Left Right Double Arrow Stroke in common logic and negation contexts.

Relation snippet P ⇎ Q
Large glyph ⇎
Named entity ⇎ → ⇎
vs ⇔ / ↮ ⇎  |  ⇔  |  ↮
With entities Hex: ⇎ | Decimal: ⇎ | Named: ⇎

Complete HTML Example

One page that shows this symbol with hex, decimal, named, and CSS. Use View Output or open the live editor.

Hex + Decimal + Named + CSS

All four ways to produce ⇎ in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Left Right Double Arrow Stroke (⇎)</title>
  <style>
    #point::after {
      content: "\21CE";
    }
  </style>
</head>
<body>
  <p>Using Hex Code: &#x21CE;</p>
  <p>Using HTML Code: &#8654;</p>
  <p>Using Named Entity: &nhArr;</p>
  <p id="point">Using CSS Entity: </p>
  <p><code>P &nhArr; Q</code></p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+21CE → &#x21CE; in HTML. The browser turns it into ⇎.

2. Decimal: same code point as 8654 → &#8654;. Same result as hex.

3. Named: &nhArr; and &nLeftrightarrow; are the HTML5 names for this character. Capital A in &nhArr; is required — &nharr; is a different symbol.

4. CSS: use \21CE in content (not an HTML entity). #point::after appends that ⇎ after the paragraph text.

Pitfalls & Tips

Common mistakes when working with Left Right Double Arrow Stroke.

Look-alikes

⇎ ≠ ⇔ ≠ ↮

&nhArr; (stroked double), &hArr; (plain double), and &nharr; (stroked single) are different characters.

Case

&nhArr; ≠ &nharr;

Named entities are case-sensitive. Capital A selects the double-arrow stroked form.

Fonts

Glyph may be missing

Arrows-block coverage is usually good, but still test on your target devices.

CSS vs HTML

Do not mix escapes

\21CE belongs in CSS. &nhArr; / &#x21CE; / &#8654; belong in HTML.

A11y

Add nearby words

Pair the glyph with relation text (for example P &nhArr; Q) or use aria-label when it stands alone.

Semicolon

End references

Always finish with ; — write &nhArr;, not &nhArr.

Browser Support

Left Right Double Arrow Stroke (U+21CE) and its entity forms (&nhArr;, &nLeftrightarrow;, &#x21CE;, &#8654;, CSS \\21CE) are supported in all modern browsers. Glyph coverage depends on the font.

✓ Universal encoding

Left Right Double Arrow Stroke (⇎)

Encode with named, hex, decimal, or CSS escape — or type ⇎ directly in UTF-8 HTML.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer IE 9+
Yes*
U+21CE / &nhArr; Full support

Bottom line: Prefer &nhArr; or &nLeftrightarrow; for readable HTML. Use \\21CE only inside CSS content.

Key Takeaways

  • Unicode: this symbol is U+21CE (decimal 8654).
  • HTML: prefer &nhArr; / &nLeftrightarrow; — or use &#x21CE; / &#8654;.
  • CSS: use \21CE inside content for generated text.
  • Watch out: &nhArr; ≠ &hArr; ≠ &nharr; (case-sensitive).

One line: U+21CE → &nhArr; / &#x21CE; / &#8654; / CSS \21CE.

Frequently Asked Questions

Use &nhArr; or &nLeftrightarrow; (named), &#x21CE; (hex), &#8654; (decimal), or the CSS escape \21CE in the content property. You can also type ⇎ directly in UTF-8 HTML.
U+21CE (LEFT RIGHT DOUBLE ARROW WITH STROKE). Hex 21CE, decimal 8654. It belongs to the Arrows block (U+2190–U+21FF).
Yes. &nhArr; and &nLeftrightarrow; are both HTML5 named entities. You can also use &#x21CE; or &#8654;.
Use it in logic and math when you need a negated equivalence or “not if-and-only-if” double left-right arrow. Prefer &nhArr; or &nLeftrightarrow; for readable HTML.
HTML entities (&nhArr;, &#8654;, or &#x21CE;) go in markup. The CSS escape \21CE is used in stylesheets (usually in the content property of ::before/::after). Both render ⇎.
&hArr; (U+21D4) is the plain double left-right arrow. &nharr; (U+21AE) is the single left-right arrow with a stroke. &nhArr; (U+21CE) is the double left-right arrow with a stroke. Named entities are case-sensitive.

Did you know?

Left Right Double Arrow Stroke is Unicode U+21CE (decimal 8654) — LEFT RIGHT DOUBLE ARROW WITH STROKE. HTML5 provides &nhArr; and &nLeftrightarrow;. Prefer a named form for readable source. Case matters: &nhArr; (stroked double) ≠ &nharr; (stroked single, U+21AE) ≠ &hArr; (plain double, U+21D4).

Next: Left Right Double Arrow Vertical Stroke

Learn the HTML entity for Left Right Double Arrow Vertical Stroke — next in this sequence.

Continue tutorial →

CODETOFUN NEWS

Stay Ahead in Tech

Get the latest IT news, programming updates, and technology trends directly on your phone.

Your daily dose of tech, straight to your feed.

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