HTML Entity for Right Tack (⊢)

Beginner
5 min read
Updated: Sep 2026
1 example
Unicode U+22A2

What Is the Right Tack Entity?

Right Tack (⊢) is the Mathematical Operators character at Unicode U+22A2 (RIGHT TACK). It is the turnstile used in logic and proof theory — often read as “proves” or entailment.

Remember
Character     ⊢
Unicode       U+22A2
Hex entity    ⊢
Decimal       ⊢
Named entity  ⊢
CSS escape    \22A2
Not the same  ⊣ (⊣) · Right Tack Below (U+0319)

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\22A2Stylesheet content
Direct character⊢UTF-8 HTML text

When to Use Which

SituationUse
Readable HTML entity source⊢
Need a numeric entity⊢ or ⊢
Generated text via ::before / ::aftercontent: "\22A2"
Left tack (reverse turnstile)Use ⊣ (U+22A3)
Combining diacritic below a letterUse Right Tack Below (U+0319)

Live Preview

Right Tack in common logic and math contexts.

Label snippet A ⊢ B
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>Right Tack (⊢)</title>
  <style>
    #point::after {
      content: "\22A2";
    }
  </style>
</head>
<body>
  <p>Using Hex Code: &#x22A2;</p>
  <p>Using HTML Code: &#8866;</p>
  <p>Using Named Entity: &vdash;</p>
  <p id="point">Using CSS Entity: </p>
  <p><code>A &vdash; B</code></p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+22A2 → &#x22A2; in HTML. The browser turns it into ⊢.

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

3. Named: &vdash; is the HTML5 name for this character.

4. CSS: use \22A2 in content (not an HTML entity). #point::after appends that ⊢ after the paragraph text.

Pitfalls & Tips

Common mistakes when working with Right Tack.

Look-alikes

⊢ ≠ ⊣

&vdash; faces right. &dashv; faces left. Pick the code point your notation needs.

Name

&vdash; ≠ &dashv;

The names are mirror images of each other — easy to swap by mistake.

Combining

Not a diacritic

U+22A2 is a spacing math operator. For a mark under a letter, use Right Tack Below (U+0319).

CSS vs HTML

Do not mix escapes

\22A2 belongs in CSS. &vdash; / &#x22A2; / &#8866; belong in HTML.

A11y

Add nearby words

Pair the glyph with label text (for example A &vdash; B) or use aria-label when it stands alone.

Semicolon

End references

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

Browser Support

Right Tack (U+22A2) and its entity forms (&vdash;, &#x22A2;, &#8866;, CSS \\22A2) are supported in all modern browsers. Glyph coverage depends on the font.

✓ Universal encoding

Right Tack (⊢)

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+22A2 / &vdash; Full support

Bottom line: Prefer &vdash; for readable HTML. Use \\22A2 only inside CSS content.

Key Takeaways

  • Unicode: this symbol is U+22A2 (decimal 8866).
  • HTML: prefer &vdash; — or use &#x22A2; / &#8866;.
  • CSS: use \22A2 inside content for generated text.
  • Watch out: &vdash; ≠ &dashv;.

One line: U+22A2 → &vdash; / &#x22A2; / &#8866; / CSS \22A2.

Frequently Asked Questions

Use &vdash; (named), &#x22A2; (hex), &#8866; (decimal), or the CSS escape \22A2 in the content property. You can also type ⊢ directly in UTF-8 HTML.
U+22A2 (RIGHT TACK). Hex 22A2, decimal 8866. It belongs to the Mathematical Operators block (U+2200–U+22FF).
Yes. &vdash; is the HTML5 named entity. You can also use &#x22A2; or &#8866;.
Use it in logic, proof theory, and mathematical notation for a right tack (turnstile), often read as “proves” or entailment. Prefer &vdash; for readable HTML.
HTML entities (&vdash;, &#8866;, or &#x22A2;) go in markup. The CSS escape \22A2 is used in stylesheets (usually in the content property of ::before/::after). Both render ⊢.
&vdash; (U+22A2) is RIGHT TACK. &dashv; (U+22A3) is LEFT TACK — the mirrored form. They are not interchangeable.

Did you know?

Right Tack is Unicode U+22A2 (decimal 8866) — RIGHT TACK (the turnstile). HTML5 provides &vdash;. Prefer it for readable source. Do not confuse it with the left tack &dashv; (U+22A3) or the combining mark Right Tack Below (U+0319).

Next: Right Tack Below

Learn the HTML entity for Right Tack Below — 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