Not Equal Sign ()

HTML entity for the not equal sign (≠). Learn how to use ≠ or ≠ in HTML for mathematical notation and comparison displays.

Math

Not Equal Sign

All Formats

FormatValue
Character
HTML Entity≠
HTML Code (Decimal)≠
UnicodeU+2260
CSS Content\2260
CategoryMath

About Not Equal Sign

The not equal sign (≠) is a mathematical symbol used to indicate that two values are not equal. It consists of an equals sign with a forward slash through it and is the standard way to express inequality in mathematics.

In HTML, insert this symbol using ≠, ≠, or ≠. The named entity ≠ is clean and widely supported. In programming, inequality is usually expressed with != or !==, but the ≠ symbol is preferred in mathematical notation displayed to users.

The not equal sign is part of the Mathematical Operators Unicode block (U+2200–U+22FF). It should be used instead of ad-hoc representations like "=/=" or "!=" when displaying mathematical content in prose or educational materials. The symbol renders consistently across all modern browsers and fonts.

In CSS, use "\2260" with the content property for pseudo-element insertion. This symbol is frequently needed in documentation comparing values, mathematical proofs, and interactive calculator tools. Screen readers typically announce it as "not equal to," making it fully accessible.

Usage Examples

<!-- Using named entity -->
<p>This is the Not Equal Sign: &ne;</p>

<!-- Using numeric code -->
<p>This is the Not Equal Sign: &#8800;</p>

<!-- Using the character directly (UTF-8) -->
<p>This is the Not Equal Sign: ≠</p>

<!-- In CSS -->
.icon::before {
  content: "\2260";
}

FAQ

What is the HTML entity for Not Equal Sign?

The Not Equal Sign () can be inserted using the named entity &ne;, the numeric code &#8800;, or by pasting the character directly in a UTF-8 document.

How do I use in CSS?

In CSS, use the content property with the value "\2260". For example: content: "\2260";

What is the Unicode code point for Not Equal Sign?

The Unicode code point for Not Equal Sign is U+2260. This is the universal identifier for this character across all platforms and programming languages.

Try It in the HTML Entity Tool

Use our HTML Entity Encoder & Decoder to encode and decode HTML entities, convert between named, numeric, and hex formats, and explore the full entity reference table.

Open HTML Entity Tool →