HTML Entity for Neither Less Than Nor Greater Than (≸)

Beginner
6 min read
Updated: Sep 2026
1 example
Unicode U+2278

What Is the Neither Less Than Nor Greater Than Entity?

Neither less than nor greater than (≸) is the Mathematical Operators character at Unicode U+2278 (NEITHER LESS-THAN NOR GREATER-THAN). It means A is not < B and not > B — the negation of &lg; (≶). HTML5 provides the named entity &ntlg;.

Remember
Character     ≸
Unicode       U+2278
Named entity  &ntlg;
Hex entity    &#x2278;
Decimal       &#8824;
CSS escape    \2278

All of these produce the same glyph: ≸. Prefer &ntlg; for readable HTML; paste ≸ in UTF-8 when convenient.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Named entity&ntlg;HTML markup
Hex entity&#x2278;HTML markup
Decimal entity&#8824;HTML markup
Direct character≸HTML text (UTF-8 default)
CSS escape\2278Stylesheet content

When to Use Which

SituationUse
Readable math in HTML&ntlg;
UTF-8 math textType or paste ≸
Numeric entity required&#x2278; or &#8824;
Generated text via ::before / ::aftercontent: "\2278"
Positive relation (≶)&lg; (≶)

Live Preview

Neither less than nor greater than rendered in common contexts.

Glyph ≸
Large glyph ≸
In a relation a ≸ b
With entities Named: ≸ | Hex: ≸ | Decimal: ≸
Related symbols ≶ (&lg;) · ≹ (&ntgl;) · ≠ (&ne;)

Complete HTML Example

One page that shows neither less than nor greater than with named, hex, decimal, direct, and CSS forms. Use View Output or open the live editor.

Named + Hex + Decimal + Direct + CSS

Five ways to produce ≸ in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Neither Less Than Nor Greater Than (≸) in HTML</title>
  <style>
    #point::after {
      content: "\2278";
    }
  </style>
</head>
<body>
  <p>Using Named Entity: &ntlg;</p>
  <p>Using Hex Code: &#x2278;</p>
  <p>Using HTML Code: &#8824;</p>
  <p>Using Direct Character: ≸</p>
  <p id="point">Using CSS Entity: </p>
  <p>Example: a &ntlg; b</p>
</body>
</html>
Try It Yourself

How It Works

1. Named: &ntlg; is the clearest HTML form for U+2278.

2. Hex: U+2278 → &#x2278; in HTML. Reliable numeric form.

3. Decimal: same code point as 8824 → &#8824;. Same glyph.

4. Direct: paste ≸ in a UTF-8 file with <meta charset="UTF-8">.

5. CSS: use \2278 in content (not an HTML entity). #point::after appends that ≸ after the paragraph text.

Pitfalls & Tips

Common mistakes when working with this order-relation entity.

Meaning

Negates ≶, not ≠

≸ is “notlg”. For general inequality use &ne; (≠). In total orders, A ≸ B often implies equality; in partial orders it can mean incomparable.

Sibling

&ntlg; vs &ntgl;

&ntgl; is U+2279 (neither greater-than nor less-than) — a different character. Do not swap them.

CSS vs HTML

Do not mix escapes

\2278 belongs in CSS. &ntlg; / &#x2278; / &#8824; belong in HTML.

Look-alikes

Not ≶, ≹, or ≠

≶ is lg; ≹ is ntgl; ≠ is not equal. Different symbols with different meanings.

Semicolon

End references

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

UTF-8

Declare charset

If you paste ≸ directly, serve the page as UTF-8 with <meta charset="UTF-8">.

Browser Support

Neither less than nor greater than (U+2278) and its entity forms (&ntlg;, &#x2278;, &#8824;, CSS \\2278) are supported in all mainstream browsers. Glyph availability depends on the font.

✓ Universal support

Neither Less Than Nor Greater Than (&#x2278;)

Prefer &ntlg;, or encode with hex, decimal, or CSS escape — same glyph everywhere.

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+2278 / entities Full support

Bottom line: Prefer &ntlg; in HTML. Use &#x2278; / &#8824; when a numeric form is required, and \\2278 only inside CSS content.

Key Takeaways

  • Unicode: notlg is U+2278 (decimal 8824), Mathematical Operators.
  • HTML: prefer &ntlg;, or &#x2278; / &#8824;.
  • CSS: use \2278 inside content for generated text.
  • Meaning: negation of ≶ — not the same as ≹ or ≠.

One line: U+2278 → &ntlg; / &#x2278; / &#8824; / CSS \2278.

Frequently Asked Questions

Use &ntlg; (named), &#x2278; (hex), &#8824; (decimal), type ≸ in UTF-8, or the CSS escape \2278 in content. All render ≸.
U+2278 (NEITHER LESS-THAN NOR GREATER-THAN). Hex 2278, decimal 8824. It belongs to Mathematical Operators and is the negation of ≶ (less-than or greater-than).
Yes. HTML5 defines &ntlg; for this character. You can also use &#8824; or &#x2278;.
Use it in order theory or math when A is neither less than nor greater than B (A ≸ B). Prefer &ntlg; for readable source. For ordinary English, write the relation in words.
HTML entities (&ntlg;, &#8824;, or &#x2278;) go in markup. The CSS escape \2278 is used in stylesheets (usually in the content property of ::before/::after). Both render ≸.
≶ (U+2276, &lg;) means less-than or greater-than. ≹ (U+2279, &ntgl;) is neither greater-than nor less-than. ≠ (U+2260, &ne;) is not equal to. ≸ specifically negates ≶. Do not substitute one for another.

Did you know?

Neither less than nor greater than (≸) is Unicode U+2278 (decimal 8824) — NEITHER LESS-THAN NOR GREATER-THAN in Mathematical Operators. HTML5 provides &ntlg;. It negates &lg; (≶, less-than or greater-than). Sibling &ntgl; (≹) is neither greater-than nor less-than.

Next: Neither Superset Not Equal To

Learn the HTML entity for neither a superset of nor equal to — the next symbol in this entity sequence.

Neither Superset Not Equal To 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