HTML Entity for Neither Approximately Nor Actually Equal To (≇)

Intermediate
⏱️ 5 min read
📚 Updated: Jun 2026
🎯 1 Code Example
Unicode U+2247

What You'll Learn

How to display the Neither Approximately Nor Actually Equal To symbol (≇) in HTML using named, hexadecimal, decimal, and CSS escape methods. This character is U+2247 (NEITHER APPROXIMATELY NOR ACTUALLY EQUAL TO) in the Mathematical Operators block (U+2200–U+22FF)—a relation stating that two values are not congruent in either an approximate or exact sense.

Render it with the named entity ≇, ≇, ≇, or CSS escape \2247. Distinguish it from Approximately Equal To (≅, ≅) and Approximately But Not Actually Equal To (≆).

⚡ Quick Reference — ncong

Unicode U+2247

Mathematical Operators

Hex Code ≇

Hexadecimal reference

HTML Code ≇

Decimal reference

Named Entity ≇

Most readable in math markup

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2247
Hex code       ≇
HTML code      ≇
Named entity   ≇
CSS code       \2247
Meaning        Neither approximately nor actually equal to
Related        U+2245 = approx equal (≅, ≅)
               U+2246 = approx but not actual (≆)
               U+2248 = almost equal (≈, ≈)
1

Complete HTML Example

This example demonstrates ≇ using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point::after{
   content: "\2247";
  }
 </style>
</head>
<body>
<p>≇ using Hexadecimal: &#x2247;</p>
<p>≇ using HTML Code: &#8775;</p>
<p>≇ using Named Entity: &ncong;</p>
<p id="point">≇ using CSS Entity: </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

U+2247 is widely supported wherever Unicode Mathematical Operators render correctly:

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

👀 Live Preview

See ≇ in mathematical relation and analysis contexts:

Inline relation ab means a is neither approximately nor actually equal to b.
Large glyph
Approximation family ≅ congruent   ≈ almost   ≇ neither
Example π ≇ 3.15
Entity refs &ncong; &#x2247; &#8775; \2247

🧠 How It Works

1

Named Entity

&ncong; is the HTML named entity for U+2247—the most readable choice when writing mathematical relation markup.

HTML markup
2

Hexadecimal Code

&#x2247; uses the Unicode hexadecimal value 2247. The x prefix indicates hexadecimal format.

HTML markup
3

Decimal HTML Code

&#8775; uses the decimal Unicode value 8775 to display the same character.

HTML markup
4

CSS Entity

\2247 is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.

CSS stylesheet
=

Same visual result

All four methods produce: . Unicode U+2247 in Mathematical Operators. Related: ≅ (&cong;), ≆ (approx but not actual).

Use Cases

The ≇ symbol (&ncong;) is commonly used in:

🔢 Mathematical analysis

Expressing that two quantities fail both approximate and exact equality.

📚 Academia

Textbooks, papers, and lecture notes published as HTML.

📐 Math expressions

Formal definitions and proofs involving approximate relations.

🔬 Scientific docs

Physics and engineering content comparing measured vs theoretical values.

🎓 Online courses

Interactive math modules with web-based notation.

🌐 Reference guides

Unicode charts and HTML entity documentation for math symbols.

💡 Best Practices

Do

  • Use &ncong; for readable math markup
  • Pair ≇ with plain-language description on first use
  • Distinguish from ≅ (&cong;) and ≆ in related content
  • Add aria-label for standalone relation symbols
  • Serve pages with UTF-8 (<meta charset="utf-8">)

Don’t

  • Confuse ≇ with ≉ (not almost equal) or ≠ (not equal)
  • Use padded Unicode notation like U+02247—the correct value is U+2247
  • Put CSS escape \2247 in HTML text nodes
  • Assume HTML entities perform mathematical evaluation
  • Rely on the glyph alone without accessible description

Key Takeaways

1

Three HTML references plus CSS all render ≇

&#x2247; &#8775; &ncong;
2

For CSS stylesheets, use the escape in the content property

\2247
3

Unicode U+2247 — NEITHER APPROXIMATELY NOR ACTUALLY EQUAL TO

4

Mathematical Operators block (U+2200–U+22FF)

5

&ncong; is the preferred named entity for readable source markup

❓ Frequently Asked Questions

Use &ncong; (named), &#x2247; (hex), &#8775; (decimal), or \2247 in CSS content. All produce ≇.
U+2247 (NEITHER APPROXIMATELY NOR ACTUALLY EQUAL TO). Mathematical Operators block (U+2200–U+22FF). Hex 2247, decimal 8775. Named entity: &ncong;.
In mathematics, analysis, and scientific documents when expressing that two quantities are neither approximately equal nor actually equal.
HTML references (&#8775;, &#x2247;, or &ncong;) go directly in markup. The CSS escape \2247 is used in stylesheets, typically in the content property of pseudo-elements. Same visual result, different layers of the stack.
Yes. &ncong; is the named HTML entity for U+2247 and is the most readable option in source markup.

Explore More HTML Entities!

Discover 1500+ HTML character references — math relations, operators, logic symbols, 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