HTML Entity for Not Identical To (≢)

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

What Is the Not Identical To Entity?

Not identical to (≢) is the Mathematical Operators character at Unicode U+2262 (NOT IDENTICAL TO). It states that two expressions are not identical under ≡ — for example A ≢ B.

Remember
Character     ≢
Unicode       U+2262
Named entity  ≢  (also ≢)
Hex entity    ≢
Decimal       ≢
CSS escape    \2262
Affirmative   ≡ (≡, U+2261)

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\2262Stylesheet content
Direct character≢UTF-8 HTML text

When to Use Which

SituationUse
Readable HTML source≢
Numeric entity required≢ or ≢
Generated text via ::before / ::aftercontent: "\2262"
Identical to ≡≡ — see Identical To
Not equal ≠≠

Live Preview

Not identical to in comparison contexts.

Relation A ≢ B
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 Identical To (&nequiv;)</title>
  <style>
    #point::after {
      content: "\2262";
    }
  </style>
</head>
<body>
  <p>Using Named Entity: &nequiv;</p>
  <p>Using Hex Code: &#x2262;</p>
  <p>Using HTML Code: &#8802;</p>
  <p id="point">Using CSS Entity: </p>
  <p>Example: A &nequiv; B</p>
</body>
</html>
Try It Yourself

How It Works

1. Named: &nequiv; (or &NotCongruent;) is the clearest HTML form and renders ≢.

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

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

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

Pitfalls & Tips

Common mistakes when working with the not-identical-to entity.

Pair

&nequiv; ≠ &equiv;

&nequiv; is the negation. &equiv; is the affirmative identical to (≡).

Look-alikes

Not &ne; or &NotCupCap;

&ne; is ≠ (not equal). &NotCupCap; is ≭ (not equivalent under ≍). Identity and equivalence are different relations.

Aliases

&nequiv; = &NotCongruent;

Both map to U+2262. Prefer the short &nequiv; in everyday HTML.

CSS vs HTML

Do not mix escapes

\2262 belongs in CSS. &nequiv; / &#x2262; / &#8802; 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 &nequiv;, not &nequiv.

Browser Support

Not identical to (U+2262) and its entity forms (&nequiv;, &#x2262;, &#8802;, CSS \\2262) are supported in all modern browsers. Glyph availability depends on the font.

✓ Universal encoding

Not Identical To (≢)

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+2262 Full support

Bottom line: Prefer &nequiv; for readable HTML. Use \\2262 only inside CSS content.

Key Takeaways

  • Unicode: this character is U+2262 (decimal 8802).
  • HTML: prefer &nequiv; (alias &NotCongruent;) — or use &#x2262; / &#8802;.
  • CSS: use \2262 inside content for generated text.
  • Watch out: &nequiv; ≠ &equiv; ≠ &ne;.

One line: U+2262 → &nequiv; / &#x2262; / &#8802; / CSS \2262.

Frequently Asked Questions

Use &nequiv; (named), &#x2262; (hex), &#8802; (decimal), type ≢ in UTF-8, or the CSS escape \2262 in content. All render ≢. Prefer &nequiv; in HTML source.
U+2262 (NOT IDENTICAL TO). Hex 2262, decimal 8802. It belongs to the Mathematical Operators block (U+2200–U+22FF).
Yes. HTML5 defines &nequiv; and &NotCongruent; (aliases for the same character). Related: &equiv; for ≡ (U+2261).
Use it when two expressions are not identical or not congruent under ≡ (e.g. A ≢ B). Prefer &nequiv; for readable source. For ordinary inequality use &ne; (≠).
HTML entities (&nequiv;, &#8802;, or &#x2262;) go in markup. The CSS escape \2262 is used in stylesheets (usually in the content property of ::before/::after). Both render ≢.
≡ (U+2261, &equiv;) means identical to. ≠ (U+2260, &ne;) means not equal. ≢ (&nequiv;) specifically means not identical — do not substitute one for another.

Did you know?

Not identical to (≢) is Unicode U+2262 (decimal 8802) — NOT IDENTICAL TO in Mathematical Operators. HTML5 provides &nequiv; and &NotCongruent; (same glyph). It negates identical to (&equiv;, ≡, U+2261). Related: &ne; (≠, not equal).

Next: Not Less Than

Learn the HTML entity for ≮ / U+226E — next in this sequence.

Continue tutorial →

CODETOFUN NEWS

Stay Ahead in Tech

Get the latest IT news, programming updates, and technology trends directly on your phone.

Your daily dose of tech, straight to your feed.

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