HTML Entity for Assertion (⊦)

Beginner
⏱️ 5 min read
📚 Updated: May 2026
🎯 1 Code Example
Unicode U+22A6

What You'll Learn

How to display the Assertion symbol (⊦), also called the turnstile, in HTML using numeric character references and CSS. In logic and proof theory it commonly reads as “proves” or “entails”; in type theory it appears in judgments such as Γ ⊦ e : τ.

The character is in the Mathematical Operators Unicode block. There is no standard named HTML entity; use ⊦, ⊦, or the CSS escape \22A6 in the content property.

⚡ Quick Reference — Assertion Entity

Unicode U+22A6

Mathematical Operators block

Hex Code ⊦

Hexadecimal reference

HTML Code ⊦

Decimal reference

Named Entity

None (use numeric refs)

Reference Table
Name           Value
────────────   ──────────
Unicode        U+22A6
Hex code       ⊦
HTML code      ⊦
Named entity   (none)
CSS code       \22A6
1

Complete HTML Example

This example shows the Assertion turnstile (⊦) using hexadecimal and decimal character references, plus a CSS content escape on a pseudo-element:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\22A6";
  }
 </style>
</head>
<body>

<p>Assertion using Hexa Decimal: &#x22A6;</p>
<p>Assertion using HTML Code: &#8870;</p>
<p id="point">Assertion using CSS Entity: </p>

</body>
</html>
Try it Yourself

🌐 Browser Support

The Assertion character references are supported in all modern browsers:

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

👀 Live Preview

See the turnstile in typical notation:

Inline text If every assumption in Γ holds, we write Γ ⊦ φ (“Γ proves φ”).
Large glyph
Type judgment (illustrative) Γ ⊦ e : τ
Monospace lemma-1 : ctx ⊦ t : Nat
Contrast Semantic consequence ⊨ vs. syntactic derivability ⊦ (different Unicode points).

🧠 How It Works

1

Hexadecimal Code

&#x22A6; uses the Unicode hexadecimal value 22A6 to display the Assertion symbol. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

&#8870; uses the decimal Unicode value 8870 for the same character.

HTML markup
3

CSS Entity

\22A6 is used in CSS, especially in the content property of ::before and ::after.

CSS stylesheet
4

No named entity

U+22A6 has no standard named HTML entity in the HTML Living Standard list. Use numeric references or CSS escapes.

HTML markup
=

Same visual result

Hex, decimal, and CSS methods all produce . Unicode U+22A6 sits in the Mathematical Operators block (U+2200–U+22FF).

Use Cases

The Assertion turnstile (⊦) commonly appears in these scenarios:

📐 Logic & proofs

Proof theory, sequent calculus, and “proves” or “entails” in formal logic (e.g. Γ ⊦ φ).

💻 Type theory & PL

Typing judgments, formal semantics, and language specification (e.g. context ⊦ expression : type).

📚 Education

Logic and discrete-math courses, textbooks, and interactive proof tutors.

📄 Technical docs

Theorem provers (Lean, Coq, Isabelle) and formal-methods write-ups rendered on the web.

🔬 Research papers

CS, logic, and philosophy PDFs mirrored as HTML where Unicode math is inlined.

♿ Accessibility

Add visible text or aria-label (“proves”, “turnstile”) so assistive tech conveys meaning.

🌐 International notation

The same ⊦ convention appears across languages in logic-heavy content.

💡 Best Practices

Do

  • Pick hex or decimal and use it consistently in one document
  • Use math-capable fonts (e.g. STIX, Cambria Math) for stable ⊦ alignment
  • Explain “proves” or “entails” on first use for general readers
  • Reserve \22A6 for CSS content, not HTML text
  • Distinguish ⊦ (U+22A6) from ⊨ (U+22A8, true) in notation

Don’t

  • Assume a named entity exists for the turnstile
  • Confuse assertion ⊦ with double turnstile ⊨ (semantic consequence)
  • Drop the symbol into UI with no textual context for screen readers
  • Paste CSS escapes directly into HTML body content
  • Mix multiple numeric styles without a project convention

Key Takeaways

1

Two HTML numeric forms render ⊦

&#x22A6; &#8870;
2

In CSS, use \22A6 inside content on pseudo-elements

\22A6
3

Unicode U+22A6 is in the Mathematical Operators block

4

There is no standard named HTML entity for this glyph

5

Do not confuse ⊦ with ⊨ (“true” / double turnstile for validity)

❓ Frequently Asked Questions

Use &#x22A6; (hex), &#8870; (decimal), or \22A6 in CSS content. There is no standard named entity.
U+22A6 (hex 22A6, decimal 8870). Often called the turnstile; used for syntactic derivability in logic.
In logic and proof notation, type theory, formal semantics, educational logic content, and documentation for theorem provers or formal methods.
HTML references (&#8870; or &#x22A6;) belong in markup. The CSS escape \22A6 belongs in stylesheets, typically in content on ::before or ::after.
No. Use &#x22A6;, &#8870;, or \22A6 in CSS.

Explore More HTML Entities!

Discover 1500+ HTML character references — currency symbols, arrows, math operators, emojis, 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