HTML Entity for Not Sign (¬)

What You'll Learn
How to display the Not Sign (¬) in HTML using named, hexadecimal, decimal, and CSS escape methods. This logic operator denotes negation (e.g. ¬P means NOT P).
This character is U+00AC (NOT SIGN) in the Latin-1 Supplement block (U+0080–U+00FF). Render it with the named entity ¬, ¬, ¬, or CSS escape \AC. Compare with Not Equal To (≠, ≠) and logic operators like NOR (⊽).
⚡ Quick Reference — Not Sign
U+00ACLatin-1 Supplement
¬Hexadecimal reference
¬Decimal reference
¬HTML5 named entity for U+00AC
Name Value
──────────── ──────────
Unicode U+00AC
Hex code ¬
HTML code ¬
Named entity ¬
CSS code \AC
Meaning Logical NOT (negation)
Related U+2260 = not equal (≠, ≠)
U+22BD = NOR (⊽, &nor;)
U+22BC = NAND (⊼, &nand;)
Block Latin-1 Supplement (U+0080–U+00FF)Complete HTML Example
A simple example showing ¬ using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:
<!DOCTYPE html>
<html>
<head>
<style>
#point::after{
content: "\AC";
}
</style>
</head>
<body>
<p>Symbol (hex): ¬</p>
<p>Symbol (decimal): ¬</p>
<p>Symbol (named): ¬</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>🌐 Browser Support
U+00AC is universally supported in all modern browsers and has been part of HTML since early versions:
👀 Live Preview
See ¬ in logic and negation contexts:
🧠 How It Works
Named Entity
¬ is the HTML named entity for U+00AC—one of the oldest and most widely used HTML character references.
Hexadecimal Code
¬ uses the Unicode hexadecimal value AC to display the not sign.
Decimal HTML Code
¬ uses the decimal Unicode value 172 to display the same character.
CSS Entity
\AC is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.
Same visual result
All four methods produce: ¬. Unicode U+00AC in Latin-1 Supplement (U+0080–U+00FF).
Use Cases
The ¬ symbol (¬) is commonly used in:
Denoting logical negation in propositional and predicate logic.
Formal proofs and boolean algebra expressions.
Computer science courses covering logic and boolean operations.
Textbooks, papers, and lecture notes published as HTML.
Interactive logic modules with web-based notation.
Unicode charts and HTML entity documentation.
💡 Best Practices
Do
- Use
¬for readable logic and negation markup - Distinguish ¬ (logical NOT) from ≠ (not equal,
≠) - Pair ¬ with plain-language description on first use
- Use numeric references in generated or XML-first workflows
- Serve pages with UTF-8 (
<meta charset="utf-8">)
Don’t
- Confuse ¬ (
¬) with ≠ (≠, not equal) - Confuse
¬with∉(∉, not element of) - Use padded Unicode notation like U+000AC—the correct value is
U+00AC - Put CSS escape
\ACin HTML text nodes - Use
\000ACin CSS—the correct escape is\AC
Key Takeaways
Three HTML references plus CSS all render ¬
¬ ¬ ¬For CSS stylesheets, use the escape in the content property
\ACUnicode U+00AC — NOT SIGN
Latin-1 Supplement block (U+0080–U+00FF)
¬ is the preferred named entity for readable source markup
❓ Frequently Asked Questions
¬ (named), ¬ (hex), ¬ (decimal), or \AC in CSS content. All produce ¬.U+00AC (NOT SIGN). Latin-1 Supplement block (U+0080–U+00FF). Hex AC, decimal 172. Named entity: ¬.≠) for numeric or value inequality. They serve different purposes in notation.¬, ¬, or ¬) go directly in markup. The CSS escape \AC is used in stylesheets, typically in the content property of pseudo-elements. Same visual result, different layers of the stack.¬ is the named HTML entity for U+00AC and is one of the most common HTML character references.Explore More HTML Entities!
Discover 1500+ HTML character references — arrows, symbols, and more.
8 people found this page helpful
