HTML Entity for NAND (⊼)

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

What Is the NAND Entity?

NAND (⊼) is the Sheffer stroke at Unicode U+22BC for the NAND (NOT AND) logical operation. HTML5 has no named entity — use ⊼ or ⊼. Example: P ⊼ Q.

Remember
Character     ⊼
Unicode       U+22BC
Named entity  (none)
Hex entity    ⊼
Decimal       ⊼
CSS escape    \22BC

Hex, decimal, CSS, and a typed character all produce the same glyph: ⊼.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct character⊼UTF-8 HTML text
Hex entity⊼HTML markup (preferred)
Decimal entity⊼HTML markup
CSS escape\22BCStylesheet content
Named entityNoneNot available in HTML5

When to Use Which

SituationUse
NAND / Sheffer stroke in logic⊼ or type ⊼
Need an entity in HTML source⊼ or ⊼
Generated text via ::before / ::aftercontent: "\22BC"
Binary AND (∧)∧ — not NAND
N-ary logical AND (⋀)See N-Ary Logical AND — ⋀

Live Preview

NAND alone, in a formula, and beside related operators.

Example P ⊼ Q = ¬(P ∧ Q)
Large glyph ⊼
Hex entity ⊼ → ⊼
vs ∧ / ∨ / ⊕ ⊼  |  ∧  |  ∨  |  ⊕
With entities Hex: ⊼ | Decimal: ⊼

Complete HTML Example

One page that shows NAND with hex, decimal, and CSS forms. Use View Output or open the live editor.

Hex + Decimal + CSS

Three ways to produce ⊼ in a single document (no named entity).

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>NAND (⊼)</title>
  <style>
    #point::after {
      content: "\22BC";
    }
  </style>
</head>
<body>
  <p>Using Hex Code: &#x22BC;</p>
  <p>Using HTML Code: &#8892;</p>
  <p id="point">Using CSS Entity: </p>
  <p>Formula: P &#x22BC; Q</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+22BC → &#x22BC; in HTML. Preferred numeric form.

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

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

4. No named form: do not invent &nand; — browsers will not recognize it.

Pitfalls & Tips

Common mistakes when working with NAND.

Named

No &nand;

HTML5 has no named entity. Use &#x22BC; or &#8892;.

vs ∧

Not AND

&wedge; is ∧ (U+2227). NAND is the negation of AND — different operator.

Meaning

NAND = NOT AND

P ⊼ Q is false only when both P and Q are true.

CSS vs HTML

Do not mix escapes

\22BC belongs in CSS. &#x22BC; / &#8892; belong in HTML.

Encoding

Declare UTF-8

If you type ⊼ directly, keep <meta charset="UTF-8"> so the file is not misread.

Semicolon

End references

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

Browser Support

NAND (U+22BC) and its entity forms (&#x22BC;, &#8892;, CSS \\22BC) are supported in all mainstream browsers with a Unicode-capable font.

✓ Universal support

NAND (&#x22BC;)

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

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+22BC Full support

Bottom line: Prefer &#x22BC; in HTML. Use \\22BC only inside CSS content.

Key Takeaways

  • Unicode: NAND is U+22BC (decimal 8892).
  • HTML: prefer &#x22BC; (no named entity).
  • CSS: use \22BC inside content for generated text.
  • Lookalike: not &wedge; (∧) — NAND is NOT AND.

One line: U+22BC → prefer &#x22BC; (also &#8892; / CSS \22BC).

Frequently Asked Questions

Use &#x22BC; (hex), &#8892; (decimal), or the CSS escape \22BC in the content property. All render ⊼. There is no named HTML entity for U+22BC.
U+22BC (SHEFFER STROKE). Hex 22BC, decimal 8892. It belongs to the Mathematical Operators block.
No. HTML5 does not define a named entity for NAND. Use &#x22BC; or &#8892;, or type ⊼ in UTF-8.
Use it in Boolean algebra, logic gates, and digital electronics when writing NAND (NOT AND) — for example P ⊼ Q.
HTML entities (&#8892; or &#x22BC;) go in markup. The CSS escape \22BC is used in stylesheets (usually in the content property of ::before/::after). Both render ⊼.
No. NAND is U+22BC (⊼), NOT AND. AND is &wedge; (∧, U+2227). OR is &vee; (∨, U+2228). Different operators.

Did you know?

NAND is Unicode U+22BC (decimal 8892) — SHEFFER STROKE in Mathematical Operators. HTML5 has no named entity — use &#x22BC; or &#8892;. It denotes NOT AND: P ⊼ Q = ¬(P ∧ Q). Related: AND &wedge; (∧), XOR (⊻).

Next: Negated Double Vertical Bar Double Right

Continue with the Negated Double Vertical Bar Double Right (⊯) entity tutorial.

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