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

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

What Is the Neither Greater Than Nor Less Than Entity?

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

Remember
Character     ≹
Unicode       U+2279
Named entity  &ntgl;
Hex entity    &#x2279;
Decimal       &#8825;
CSS escape    \2279

All of these produce the same glyph: ≹. Prefer &ntgl; 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&ntgl;HTML markup
Hex entity&#x2279;HTML markup
Decimal entity&#8825;HTML markup
Direct character≹HTML text (UTF-8 default)
CSS escape\2279Stylesheet content

When to Use Which

SituationUse
Readable math in HTML&ntgl;
UTF-8 math textType or paste ≹
Numeric entity required&#x2279; or &#8825;
Generated text via ::before / ::aftercontent: "\2279"
Positive relation (≷)&gl; (≷)

Live Preview

Neither greater than nor less than rendered in common contexts.

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

Complete HTML Example

One page that shows neither greater than nor less 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 Greater Than Nor Less Than (≹) in HTML</title>
  <style>
    #point::after {
      content: "\2279";
    }
  </style>
</head>
<body>
  <p>Using Named Entity: &ntgl;</p>
  <p>Using Hex Code: &#x2279;</p>
  <p>Using HTML Code: &#8825;</p>
  <p>Using Direct Character: ≹</p>
  <p id="point">Using CSS Entity: </p>
  <p>Example: a &ntgl; b</p>
</body>
</html>
Try It Yourself

How It Works

1. Named: &ntgl; is the clearest HTML form for U+2279.

2. Hex: U+2279 → &#x2279; in HTML. Reliable numeric form.

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

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

5. CSS: use \2279 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 “notgl”. For general inequality use &ne; (≠). In total orders, A ≹ B often implies equality; in partial orders it can mean incomparable.

Sibling

&ntgl; vs &ntlg;

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

CSS vs HTML

Do not mix escapes

\2279 belongs in CSS. &ntgl; / &#x2279; / &#8825; belong in HTML.

Look-alikes

Not ≷, ≸, or ≠

≷ is gl; ≸ is ntlg; ≠ is not equal. Different symbols with different meanings.

Semicolon

End references

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

UTF-8

Declare charset

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

Browser Support

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

✓ Universal support

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

Prefer &ntgl;, 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+2279 / entities Full support

Bottom line: Prefer &ntgl; in HTML. Use &#x2279; / &#8825; when a numeric form is required, and \\2279 only inside CSS content.

Key Takeaways

  • Unicode: notgl is U+2279 (decimal 8825), Mathematical Operators.
  • HTML: prefer &ntgl;, or &#x2279; / &#8825;.
  • CSS: use \2279 inside content for generated text.
  • Meaning: negation of ≷ — not the same as ≸ or ≠.

One line: U+2279 → &ntgl; / &#x2279; / &#8825; / CSS \2279.

Frequently Asked Questions

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

Did you know?

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

Next: Neither Less Than Nor Equal To

Learn the HTML entity for neither less than nor equal to — the next symbol in this entity sequence.

Neither Less Than Nor 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