HTML Entity for Not Tilde (≁)

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

What You'll Learn

How to display the Not Tilde symbol (≁) in HTML using named, hexadecimal, decimal, and CSS escape methods. This mathematical operator negates the tilde (similarity) relation (e.g. ab means a is not similar to b).

This character is U+2241 (NOT TILDE) in the Mathematical Operators block (U+2200–U+22FF). Render it with the named entity ≁, ≁, ≁, or CSS escape \2241. Compare with tilde operator (∼, ∼) and Not Asymptotically Equal To (≄, ≄).

⚡ Quick Reference — Not Tilde

Unicode U+2241

Mathematical Operators

Hex Code ≁

Hexadecimal reference

HTML Code ≁

Decimal reference

Named Entity ≁

HTML5 named entity for U+2241

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2241
Hex code       ≁
HTML code      ≁
Named entity   ≁
CSS code       \2241
Meaning        Not similar to (negated tilde)
Related        U+223C = tilde operator (∼, ∼)
               U+2242 = minus tilde (≂, ≂)
               U+2244 = not asymptotically equal (≄, ≄)
Block          Mathematical Operators (U+2200–U+22FF)
1

Complete HTML Example

A simple example showing ≁ using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point::after{
   content: "\2241";
  }
 </style>
</head>
<body>
<p>Symbol (hex): &#x2241;</p>
<p>Symbol (decimal): &#8769;</p>
<p>Symbol (named): &nsim;</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

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

Chrome1+
Firefox1+
Safari1+
Edge12+
Opera4+
Android4.4+
iOS Safari1+

👀 Live Preview

See ≁ in mathematics and formal relation notation:

Relation ab means a is not similar to b.
Large glyph
Negation pair ∼ similar   ≁ not similar
Example f(x) ≁ g(x) as x → ∞
Entity refs &nsim; &#x2241; &#8769; \2241

🧠 How It Works

1

Named Entity

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

HTML markup
2

Hexadecimal Code

&#x2241; uses the Unicode hexadecimal value 2241 to display the not-tilde symbol.

HTML markup
3

Decimal HTML Code

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

HTML markup
4

CSS Entity

\2241 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+2241 in Mathematical Operators (U+2200–U+22FF).

Use Cases

The ≁ symbol (&nsim;) is commonly used in:

🔢 Mathematics

Negating the similarity or tilde relation between expressions.

📚 Analysis

Asymptotic and limit notation where similarity does not hold.

📐 Formal proofs

Textbooks, papers, and lecture notes on relations and equivalence.

💻 CS education

Discrete math and formal methods courses with web-based notation.

🎓 Online courses

Interactive math modules covering comparison and relation symbols.

🌐 Reference guides

Unicode charts and HTML entity documentation for math symbols.

💡 Best Practices

Do

  • Use &nsim; for readable mathematical relation markup
  • Distinguish ≁ (not similar) from ≄ (&nsime;, not asymptotically 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 ≁ (&nsim;) with ~ (ASCII tilde, keyboard character)
  • Confuse &nsim; with &nsime; (≄, not asymptotically equal)
  • Use padded Unicode notation like U+02241—the correct value is U+2241
  • Put CSS escape \2241 in HTML text nodes
  • Use \02241 in CSS—the correct escape is \2241

Key Takeaways

1

Three HTML references plus CSS all render ≁

&#x2241; &#8769; &nsim;
2

For CSS stylesheets, use the escape in the content property

\2241
3

Unicode U+2241 — NOT TILDE

4

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

5

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

❓ Frequently Asked Questions

Use &nsim; (named), &#x2241; (hex), &#8769; (decimal), or \2241 in CSS content. All produce ≁.
U+2241 (NOT TILDE). Mathematical Operators block (U+2200–U+22FF). Hex 2241, decimal 8769. Named entity: &nsim;.
No. ≁ is U+2241 (NOT TILDE), a mathematical negation operator. The keyboard tilde is U+007E. For mathematical similarity use ∼ (&sim;).
HTML references (&#8769;, &#x2241;, or &nsim;) go directly in markup. The CSS escape \2241 is used in stylesheets, typically in the content property of pseudo-elements. Same visual result, different layers of the stack.
Yes. &nsim; is the named HTML entity for U+2241 and is the most readable option in mathematical markup.

Explore More HTML Entities!

Discover 1500+ HTML character references — arrows, 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