Not equal to (≠) is the Mathematical Operators character at Unicode U+2260 (NOT EQUAL TO). It states that two values are not equal — for example x ≠ y.
Using Named Entity: ≠
Using Hex Code: ≠
Using HTML Code: ≠
Using CSS Entity: ≠
Example: 3 + 2 ≠ 4
How It Works
1. Named:≠ (or ≠) is the clearest HTML form and renders ≠.
2. Hex:U+2260 → ≠ in HTML. Same result as the named entity.
3. Decimal: same code point as 8800 → ≠. Same result as hex.
4. CSS: use \2260 in content (not an HTML entity). #point::after appends that ≠ after the paragraph text.
Pitfalls & Tips
Common mistakes when working with the not-equal-to entity.
ASCII
!= is not ≠
In code, != is two ASCII characters. For the math glyph ≠ in HTML prose, use ≠.
Look-alikes
Not ≢ or ≉
≢ is ≢ (not identical). ≉ is ≉ (not almost equal). Pick the operator that matches your meaning.
Aliases
≠ = ≠
Both map to U+2260. Prefer the short ≠ in everyday HTML.
CSS vs HTML
Do not mix escapes
\2260 belongs in CSS. ≠ / ≠ / ≠ 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 ≠, not &ne.
Compatibility
Browser Support
Not equal to (U+2260) and its entity forms (≠, ≠, ≠, CSS \\2260) are supported in all modern browsers. Glyph availability depends on the font.
✓ Universal encoding
Not Equal To (≠)
Encode with named, hex, decimal, or CSS escape — or paste ≠ directly in UTF-8 HTML.
100%Browser coverage
Google ChromeSupported
Yes
Microsoft EdgeSupported
Yes
Mozilla FirefoxSupported
Yes
Apple SafariSupported
Yes
OperaSupported
Yes
Internet ExplorerAll versions
Yes
U+2260Full support
Bottom line: Prefer ≠ for readable HTML. Use \\2260 only inside CSS content.
Remember
Key Takeaways
Unicode: this character is U+2260 (decimal 8800).
HTML: prefer ≠ (alias ≠) — or use ≠ / ≠.
Use ≠ (named), ≠ (hex), ≠ (decimal), type ≠ in UTF-8, or the CSS escape \2260 in content. All render ≠. Prefer ≠ in HTML source.
U+2260 (NOT EQUAL TO). Hex 2260, decimal 8800. It belongs to the Mathematical Operators block (U+2200–U+22FF).
Yes. HTML5 defines ≠ and ≠ (aliases for the same character). Related: = for the equals sign (=).
Use it for strict inequality (e.g. x ≠ y). Prefer ≠ for readable source. For approximate inequality use ≉ (≉). For not identical use ≢ (≢).
HTML entities (≠, ≠, or ≠) go in markup. The CSS escape \2260 is used in stylesheets (usually in the content property of ::before/::after). Both render ≠.
In programming, != is two ASCII characters. ≢ (U+2262, ≢) means not identical / not equivalent under ≡. ≠ (≠) is the dedicated not-equal math symbol — do not confuse them.
🤔
Did you know?
Not equal to (≠) is Unicode U+2260 (decimal 8800) — NOT EQUAL TO in Mathematical Operators. HTML5 provides ≠ and ≠ (same glyph). It is the classic inequality operator. Related: = (=) and ≢ (≢, not identical).