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

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

What You'll Learn

How to display the Neither Greater Than Nor Less Than symbol (≹) in HTML using named, hexadecimal, decimal, and CSS escape methods. This character is U+2279 (NEITHER GREATER-THAN NOR LESS-THAN) in the Mathematical Operators block (U+2200–U+22FF)—used when two quantities are incomparable under a strict order, or when neither the greater-than nor less-than relation holds.

Render it with the named entity ≹, ≹, ≹, or CSS escape \2279. Compare with Greater Than Or Less Than (≷) and related “neither” operators such as Neither Greater Than Nor Equal To (≱, ≱).

⚡ Quick Reference — ntgl

Unicode U+2279

Mathematical Operators

Hex Code ≹

Hexadecimal reference

HTML Code ≹

Decimal reference

Named Entity ≹

Most readable in math markup

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2279
Hex code       ≹
HTML code      ≹
Named entity   ≹
CSS code       \2279
Meaning        Neither greater-than nor less-than
Related        U+2277 = gt or lt (≷)
               U+2271 = nge (≱, ≱)
               U+2270 = nle (≰, ≰)
1

Complete HTML Example

This example demonstrates ≹ using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point::after{
   content: "\2279";
  }
 </style>
</head>
<body>
<p>≹ using Hexadecimal: &#x2279;</p>
<p>≹ using HTML Code: &#8825;</p>
<p>≹ using Named Entity: &ntgl;</p>
<p id="point">≹ using CSS Entity: </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

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

Chrome 1+
Firefox 1+
Safari 1+
Edge 12+
Opera 4+
Android 4.4+
iOS Safari 1+

👀 Live Preview

See ≹ in order-relation and comparison contexts:

Inline relation ab means a is neither greater than nor less than b.
Large glyph
Order family ≷ gt or lt   ≱ nge   ≹ ntgl
Example |−3| ≹ 3
Entity refs &ntgl; &#x2279; &#8825; \2279

🧠 How It Works

1

Named Entity

&ntgl; is the HTML named entity for U+2279—the most readable choice when writing order-relation markup.

HTML markup
2

Hexadecimal Code

&#x2279; uses the Unicode hexadecimal value 2279. The x prefix indicates hexadecimal format.

HTML markup
3

Decimal HTML Code

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

HTML markup
4

CSS Entity

\2279 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+2279 in Mathematical Operators. Related: ≷ (gt or lt), ≱ (&nge;).

Use Cases

The ≹ symbol (&ntgl;) is commonly used in:

🔢 Order relations

Expressing incomparability or failure of both strict order directions.

📚 Academia

Textbooks, papers, and lecture notes published as HTML.

📐 Math expressions

Formal definitions in order theory and relation algebra.

💻 CS education

Partial orders, lattices, and comparison semantics in coursework.

🎓 Online courses

Discrete math modules with web-based notation.

🌐 Reference guides

Unicode charts and HTML entity documentation for math symbols.

💡 Best Practices

Do

  • Use &ntgl; for readable relation markup
  • Pair ≹ with plain-language description on first use
  • Distinguish from ≷ (greater or less) and ≱ (&nge;)
  • Add aria-label for standalone relation symbols
  • Serve pages with UTF-8 (<meta charset="utf-8">)

Don’t

  • Confuse ≹ (&ntgl;) with ≷ (greater-than or less-than)
  • Use padded Unicode notation like U+02279—the correct value is U+2279
  • Put CSS escape \2279 in HTML text nodes
  • Assume HTML entities perform mathematical evaluation
  • Rely on the glyph alone without accessible description

Key Takeaways

1

Three HTML references plus CSS all render ≹

&#x2279; &#8825; &ntgl;
2

For CSS stylesheets, use the escape in the content property

\2279
3

Unicode U+2279 — NEITHER GREATER-THAN NOR LESS-THAN

4

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

5

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

❓ Frequently Asked Questions

Use &ntgl; (named), &#x2279; (hex), &#8825; (decimal), or \2279 in CSS content. All produce ≹.
U+2279 (NEITHER GREATER-THAN NOR LESS-THAN). Mathematical Operators block (U+2200–U+22FF). Hex 2279, decimal 8825. Named entity: &ntgl;.
In mathematics and order-relation documents when expressing that one quantity is neither greater than nor less than another under the given ordering.
HTML references (&#8825;, &#x2279;, or &ntgl;) go directly in markup. The CSS escape \2279 is used in stylesheets, typically in the content property of pseudo-elements. Same visual result, different layers of the stack.
Yes. &ntgl; is the named HTML entity for U+2279 and is the most readable option in source markup.

Explore More HTML Entities!

Discover 1500+ HTML character references — order relations, math operators, logic 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