HTML Entity for Assertion (⊦)

Beginner
6 min read
Updated: Sep 2026
1 example
Unicode U+22A6

What Is the Assertion Entity?

Assertion (⊦) is Unicode U+22A6 in the Mathematical Operators block. It is the logic turnstile used for “asserts” / proves in formal logic and type judgments. HTML has no standard named entity — use numeric or CSS forms (or type the character in UTF-8).

Remember
Character     ⊦
Unicode       U+22A6
Hex entity    ⊦
Decimal       ⊦
Named entity  (none)
CSS escape    \22A6
Not the same  ⊢ U+22A2 · ⊨ U+22A8

All of these produce the same glyph: ⊦. Prefer typing ⊦ in UTF-8 when you can; use ⊦ / ⊦ or CSS for generated content.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct character⊦HTML text (UTF-8)
Named entityNone—
Hex entity⊦HTML markup
Decimal entity⊦HTML markup
CSS escape\22A6Stylesheet content

When to Use Which

SituationUse
Assertion / turnstile (⊦)⊦ or type ⊦
Right tack (⊢)⊢ (U+22A2) / ⊢
Models / true (⊨)⊨ (U+22A8) or true
Need an entity in HTML source⊦ or ⊦
Generated text via ::before / ::aftercontent: "\22A6"

Live Preview

Assertion turnstile in common study contexts.

Inline logic Γ ⊦ A
Large glyph ⊦
vs. related symbols ⊦ assert · ⊢ tack · ⊨ models
Monospace P ⊦ Q
With entities Hex: ⊦ | Decimal: ⊦

Complete HTML Example

One page that shows ⊦ with hex, decimal, CSS escape, and a typed character. Use View Output or open the live editor.

Hex + Decimal + CSS + Typed

Four ways to produce ⊦ in a single document (no named entity).

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Assertion (⊦) in HTML</title>
  <style>
    #point::after {
      content: "\22A6";
    }
  </style>
</head>
<body>
  <p>Assertion using Hex Code: &#x22A6;</p>
  <p>Assertion using HTML Code: &#8870;</p>
  <p id="point">Assertion using CSS Entity: </p>
  <p>Typed directly: ⊦</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+22A6 → &#x22A6; in HTML. The browser turns it into ⊦.

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

3. CSS: use \22A6 in content (not an HTML entity). #point::after appends that ⊦ after the paragraph text.

4. Typed ⊦: fine in UTF-8 source. All four lines show the same glyph.

Pitfalls & Tips

Common mistakes when working with the assertion (⊦) entity.

Named

No &name; for U+22A6

&vdash; is ⊢ (U+22A2), not ⊦. For assertion use numeric references.

⊢

Not right tack

⊢ (U+22A2) is a different Mathematical Operators relation.

⊨

Not models / true

⊨ (U+22A8) usually means semantic consequence — not the same as ⊦.

CSS vs HTML

Do not mix escapes

\22A6 belongs in CSS. &#x22A6; / &#8870; belong in HTML.

Fonts

Use math-capable fonts

Some UI fonts omit Mathematical Operators. Prefer fonts with solid math coverage.

Semicolon

End references

Always finish with ; — write &#x22A6;, not &#x22A6.

Browser Support

Assertion (U+22A6) and its entity forms (&#x22A6;, &#8870;, CSS \\22A6) are supported in all mainstream browsers. Glyph availability depends on font support for Mathematical Operators.

✓ Universal support

Assertion (⊦)

Type ⊦, or encode with hex, decimal, or CSS escape — same glyph everywhere encoding is supported.

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+22A6 / entities Full support

Bottom line: Prefer a typed ⊦ or &#x22A6; for normal text. Use decimal when generating markup, and \\22A6 only inside CSS content.

Key Takeaways

  • Unicode: assertion is U+22A6 (decimal 8870).
  • HTML: use &#x22A6; or &#8870; (no named entity).
  • CSS: use \22A6 inside content for generated text.
  • Watch out: ⊦ ≠ ⊢ ≠ ⊨.

One line: U+22A6 → &#x22A6; / &#8870; / CSS \22A6.

Frequently Asked Questions

Use &#x22A6; (hex), &#8870; (decimal), or the CSS escape \22A6 in the content property. All render ⊦. You can also paste ⊦ directly if your file is UTF-8. There is no standard named entity.
U+22A6 (hex 22A6, decimal 8870). Unicode names it ASSERTION. It belongs to the Mathematical Operators block (U+2200–U+22FF) and is often called the turnstile.
No. HTML5 / WHATWG does not define a named character reference for U+22A6. Prefer &#x22A6;, &#8870;, or a typed ⊦ in UTF-8. (Note: &vdash; is U+22A2 ⊢, a different symbol.)
⊢ (U+22A2, right tack) and ⊨ (U+22A8, models / true) are related logic symbols with different Unicode values and typical meanings. Follow your textbook’s notation.
HTML entities (&#8870; or &#x22A6;) go in markup. The CSS escape \22A6 is used in stylesheets (usually in the content property of ::before/::after). Both render ⊦.
Use it in logic, type theory, or formal-proof content when your notation standard calls for the assertion turnstile. Glossing “asserts” or “proves” helps beginners.

Did you know?

Assertion is Unicode U+22A6 (decimal 8870) in the Mathematical Operators block — the turnstile used for “asserts” / proves in logic and type judgments. There is no standard named HTML entity — use &#x22A6; or &#8870;. Do not confuse it with ⊢ (right tack, U+22A2) or ⊨ (models / true, U+22A8).

Next: Asterisk

Learn the HTML entity for the asterisk operator (∗) used in math and markup.

Next tutorial →

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