HTML Entity for NAND (⊼)

What You'll Learn
How to display the NAND symbol (⊼) in HTML using hexadecimal, decimal, and CSS escape methods. This character is U+22BC (SHEFFER STROKE) in the Mathematical Operators block (U+2200–U+22FF)—the standard notation for the NAND (NOT AND) logical operation in Boolean algebra and digital electronics.
Render it with ⊼, ⊼, or CSS escape \22BC. There is no named HTML entity for U+22BC. Pair with related logic symbols such as XOR (⊻) and N-Ary Logical AND (⋀) in formal logic notation.
⚡ Quick Reference — NAND
U+22BCMathematical Operators
⊼Hexadecimal reference
⊼Decimal reference
—Use numeric codes only
Name Value
──────────── ──────────
Unicode U+22BC
Hex code ⊼
HTML code ⊼
Named entity (none)
CSS code \22BC
Meaning NAND / Sheffer stroke (NOT AND)
Related U+22BB = XOR (⊻, ⊻)
U+22C0 = n-ary AND (⋀, ⋀)Complete HTML Example
This example demonstrates the NAND symbol (⊼) using hexadecimal code, decimal HTML code, and a CSS content escape:
<!DOCTYPE html>
<html>
<head>
<style>
#point::after{
content: "\22BC";
}
</style>
</head>
<body>
<p>NAND using Hexadecimal: ⊼</p>
<p>NAND using HTML Code: ⊼</p>
<p id="point">NAND using CSS Entity: </p>
</body>
</html>🌐 Browser Support
U+22BC is supported in modern browsers when rendered with a Unicode-capable font:
👀 Live Preview
See the NAND symbol (⊼) in logic and Boolean algebra contexts:
🧠 How It Works
Hexadecimal Code
⊼ uses the Unicode hexadecimal value 22BC to display the NAND symbol. The x prefix indicates hexadecimal format.
Decimal HTML Code
⊼ uses the decimal Unicode value 8892 to display the same character.
CSS Entity
\22BC is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.
Same visual result
All three methods produce: ⊼. Unicode U+22BC sits in the Mathematical Operators block (U+2200–U+22FF). No named HTML entity—use numeric codes in markup.
Use Cases
The NAND symbol (⊼) is commonly used in:
Digital electronics docs describing NAND gate behavior and circuit design.
Truth tables, lecture notes, and formal logic with the Sheffer stroke operator.
Explain NAND-style bitwise logic alongside code examples.
Propositional logic where ⊼ denotes NOT AND between formulas.
Computer architecture courses, textbooks, and interactive tutorials.
Hardware datasheets and technical articles on universal gate logic.
💡 Best Practices
Do
- Use
⊼or⊼consistently per project - Pair ⊼ with plain text “NAND” on first use for clarity
- Serve pages with UTF-8 (
<meta charset="utf-8">) - Add
aria-labelfor standalone logic symbols - Distinguish ⊼ from similar operators like XOR ⊻
Don’t
- Expect a named entity—none exists for U+22BC
- Put CSS escape
\22BCin HTML text nodes - Use padded Unicode notation like U+022BC—the correct value is
U+22BC - Confuse ⊼ (NAND) with ∧ (AND,
∧) or ∨ (OR,∨) - Rely on the glyph alone without context in accessibility-sensitive content
Key Takeaways
Two HTML numeric references render ⊼
⊼ ⊼For CSS stylesheets, use the escape in the content property
\22BCUnicode U+22BC — SHEFFER STROKE (NAND / NOT AND)
Mathematical Operators block (U+2200–U+22FF)
No named entity—use numeric codes or UTF-8 literal in source files
❓ Frequently Asked Questions
⊼ (hex), ⊼ (decimal), or \22BC in CSS content. All produce ⊼. There is no named entity.U+22BC (SHEFFER STROKE). Mathematical Operators block (U+2200–U+22FF). Hex 22BC, decimal 8892. Denotes NAND (NOT AND) in Boolean algebra.⊼ or ⊼) go directly in markup. The CSS escape \22BC is used in stylesheets, typically in the content property of pseudo-elements. Same visual result, different layers of the stack.⊼ or ⊼, or type ⊼ directly in UTF-8-encoded source files.Explore More HTML Entities!
Discover 1500+ HTML character references — logic operators, math symbols, arrows, and more.
8 people found this page helpful
