HTML Entity for Not Almost Equal To (≉)

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

What Is the Not Almost Equal To Entity?

Not almost equal to (≉) is the Mathematical Operators character at Unicode U+2249 (NOT ALMOST EQUAL TO). It states that two values are not approximately equal — for example x ≉ y.

Remember
Character     ≉
Unicode       U+2249
Named entity  ≉  (also ≉, ≉)
Hex entity    ≉
Decimal       ≉
CSS escape    \2249
Affirmative   ≈ (≈, U+2248)

Named, hex, decimal, CSS, and a typed character all produce the same glyph: ≉. Prefer ≉ in HTML source for clarity.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Named entity≉HTML markup (also ≉)
Hex entity≉HTML markup
Decimal entity≉HTML markup
CSS escape\2249Stylesheet content
Direct character≉UTF-8 HTML text

When to Use Which

SituationUse
Readable HTML source≉ or ≉
Numeric entity required≉ or ≉
Generated text via ::before / ::aftercontent: "\2249"
Almost equal ≈≈ — see Almost Equal To
Strict not equal ≠≠

Live Preview

Not almost equal to in comparison contexts.

Relation x ≉ y
Large glyph ≉
Named entity ≉ → ≉
vs ≈ / ≠ ≉  |  ≈  |  ≠
With entities Named: ≉ | Hex: ≉ | Decimal: ≉

Complete HTML Example

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

Named + Hex + Decimal + CSS

Four ways to produce ≉ in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Not Almost Equal To (&napprox;)</title>
  <style>
    #point::after {
      content: "\2249";
    }
  </style>
</head>
<body>
  <p>Using Named Entity: &napprox;</p>
  <p>Using Hex Code: &#x2249;</p>
  <p>Using HTML Code: &#8777;</p>
  <p id="point">Using CSS Entity: </p>
  <p>Example: 0.1 + 0.2 &napprox; 0.3</p>
</body>
</html>
Try It Yourself

How It Works

1. Named: &napprox; (or &nap;) is the clearest HTML form and renders ≉.

2. Hex: U+2249 → &#x2249; in HTML. Same result as the named entity.

3. Decimal: same code point as 8777 → &#8777;. Same result as hex.

4. CSS: use \2249 in content (not an HTML entity). #point::after appends that ≉ after the paragraph text.

Pitfalls & Tips

Common mistakes when working with the not-almost-equal entity.

Pair

&napprox; ≠ &asymp;

&napprox; is the negation. &asymp; is the affirmative almost equal to (≈).

Look-alikes

Not &ne; or &ncong;

&ne; is ≠ (strict inequality). &ncong; is ≇ (neither approximately nor actually equal) — a different operator.

Aliases

&napprox; = &nap;

Both (and &NotTildeTilde;) map to U+2249. Pick one and stay consistent.

CSS vs HTML

Do not mix escapes

\2249 belongs in CSS. &napprox; / &#x2249; / &#8777; belong in HTML.

Encoding

Declare UTF-8

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

Semicolon

End references

Always finish with ; — write &napprox;, not &napprox.

Browser Support

Not almost equal to (U+2249) and its entity forms (&napprox;, &#x2249;, &#8777;, CSS \\2249) are supported in all modern browsers. Glyph availability depends on the font.

✓ Universal encoding

Not Almost Equal To (&napprox;)

Encode with named, hex, decimal, or CSS escape — or paste ≉ directly in UTF-8 HTML.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer All versions
Yes
U+2249 Full support

Bottom line: Prefer &napprox; (or &nap;) for readable HTML. Use \\2249 only inside CSS content.

Key Takeaways

  • Unicode: this character is U+2249 (decimal 8777).
  • HTML: prefer &napprox; (alias &nap;) — or use &#x2249; / &#8777;.
  • CSS: use \2249 inside content for generated text.
  • Watch out: &napprox; ≠ &asymp; ≠ &ne;.

One line: U+2249 → &napprox; / &#x2249; / &#8777; / CSS \2249.

Frequently Asked Questions

Use &napprox; or &nap; (named), &#x2249; (hex), &#8777; (decimal), type ≉ in UTF-8, or the CSS escape \2249 in content. All render ≉. Prefer &napprox; in HTML source.
U+2249 (NOT ALMOST EQUAL TO). Hex 2249, decimal 8777. It belongs to the Mathematical Operators block (U+2200–U+22FF).
Yes. HTML5 defines &napprox;, &nap;, and &NotTildeTilde; (aliases for the same character). Related: &asymp; for ≈ (U+2248).
Use it when two values fail an approximate-equality test (e.g. x ≉ y). Prefer &napprox; for readable source. For strict inequality use &ne; (≠). For almost equal use &asymp; (≈).
HTML entities (&napprox;, &#8777;, or &#x2249;) go in markup. The CSS escape \2249 is used in stylesheets (usually in the content property of ::before/::after). Both render ≉.
≈ (U+2248, &asymp;) means almost equal. ≠ (U+2260, &ne;) means not equal. ≉ (&napprox;) specifically means not almost equal — do not substitute one for another.

Did you know?

Not almost equal to (≉) is Unicode U+2249 (decimal 8777) — NOT ALMOST EQUAL TO in Mathematical Operators. HTML5 provides &napprox;, &nap;, and &NotTildeTilde; (same glyph). It negates almost equal to (&asymp;, ≈, U+2248). Related: &ne; (≠, not equal).

Next: Not Asymptotically Equal To

Learn the HTML entity for ≂̸ / U+2244 — next in this sequence.

Continue 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