HTML Entity for Right Harpoon Barb Up (⇀)

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

What Is the Right Harpoon Barb Up Entity?

Right Harpoon Barb Up (⇀) is the Arrows character at Unicode U+21C0 (RIGHTWARDS HARPOON WITH BARB UPWARDS). It is a rightwards harpoon whose barb points up — common in math and chemistry notation.

Remember
Character     ⇀
Unicode       U+21C0
Hex entity    ⇀
Decimal       ⇀
Named entity  ⇀  (alias ⇀)
CSS escape    \21C0
Not the same  ⇁ (⇁) · → (→)

All of these produce the same glyph: ⇀. Prefer ⇀ 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\21C0Stylesheet 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: "\21C0"
Barb pointing down insteadUse ⇁ (U+21C1)
Plain right arrowUse → (U+2192)

Live Preview

Right Harpoon Barb Up in common math contexts.

Relation snippet A ⇀ B
Large glyph ⇀
Named entity ⇀ → ⇀
vs ⇁ / → ⇀  |  ⇁  |  →
With entities Hex: ⇀ | Decimal: ⇀ | Named: ⇀

Complete HTML Example

One page that shows Right Harpoon Barb Up 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>Right Harpoon Barb Up (⇀) in HTML</title>
  <style>
    #point::after {
      content: "\21C0";
    }
  </style>
</head>
<body>
  <p>Using Hex Code: &#x21C0;</p>
  <p>Using HTML Code: &#8640;</p>
  <p>Using Named Entity: &rharu;</p>
  <p id="point">Using CSS Entity: </p>
  <p><code>A &rharu; B</code></p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+21C0 → &#x21C0; in HTML. The browser turns it into ⇀.

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

3. Named: &rharu; is the HTML5 name (alias &rightharpoonup;).

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

Pitfalls & Tips

Common mistakes when working with Right Harpoon Barb Up.

Look-alikes

⇀ ≠ ⇁ ≠ →

Barb up (&rharu;), barb down (&rhard;), and plain right (&rarr;) are different characters.

Alias

&rightharpoonup; works too

It is an HTML5 alias for the same character as &rharu;.

Name

Use &rharu; exactly

Guessing names will not work. Stick to &rharu; or numeric forms.

CSS vs HTML

Do not mix escapes

\21C0 belongs in CSS. &rharu; / &#x21C0; / &#8640; belong in HTML.

A11y

Add nearby words

Pair the glyph with equation text or use aria-label when it stands alone.

Semicolon

End references

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

Browser Support

Right Harpoon Barb Up (U+21C0) and its entity forms (&rharu;, &#x21C0;, &#8640;, CSS \\21C0) are supported in all modern browsers.

✓ Universal support

Right Harpoon Barb Up (⇀)

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 All versions
Yes
U+21C0 / &rharu; Full support

Bottom line: Prefer &rharu; for readable HTML. Use \\21C0 only inside CSS content.

Key Takeaways

  • Unicode: this symbol is U+21C0 (decimal 8640).
  • HTML: prefer &rharu; — or use &#x21C0; / &#8640;.
  • CSS: use \21C0 inside content for generated text.
  • Watch out: &rharu; ≠ &rhard; ≠ &rarr;.

One line: U+21C0 → &rharu; / &#x21C0; / &#8640; / CSS \21C0.

Frequently Asked Questions

Use &rharu; (named), &#x21C0; (hex), &#8640; (decimal), or the CSS escape \21C0 in the content property. You can also type ⇀ directly in UTF-8 HTML.
U+21C0 (RIGHTWARDS HARPOON WITH BARB UPWARDS). Hex 21C0, decimal 8640. It belongs to the Arrows block (U+2190–U+21FF).
Yes. &rharu; is the primary HTML5 named entity. &rightharpoonup; is a supported alias. You can also use &#x21C0; or &#8640;.
Use it in math and chemistry notation for a rightwards harpoon with the barb pointing up, and in diagrams that need that arrow style. Prefer &rharu; for readable HTML.
HTML entities (&rharu;, &#8640;, or &#x21C0;) go in markup. The CSS escape \21C0 is used in stylesheets (usually in the content property of ::before/::after). Both render ⇀.
&rhard; (U+21C1) is the rightwards harpoon with barb downwards. &rarr; (U+2192) is the plain rightwards arrow. &rharu; (U+21C0) is the rightwards harpoon with barb upwards.

Did you know?

Right Harpoon Barb Up is Unicode U+21C0 (decimal 8640) — RIGHTWARDS HARPOON WITH BARB UPWARDS. HTML5 provides &rharu; (alias &rightharpoonup;). Prefer it for readable source. Do not confuse it with &rhard; (U+21C1, barb down) or a plain right arrow &rarr; (→).

Next: Right Harpoon Barb Up Above Left Harpoon Barb Up

Learn the HTML entity for the next harpoon combination 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