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

What You'll Learn
How to display the Neither Less Than Nor Greater Than symbol (≸) in HTML using named, hexadecimal, decimal, and CSS escape methods. This character is U+2278 (NEITHER LESS-THAN NOR GREATER-THAN) in the Mathematical Operators block (U+2200–U+22FF)—used when a value is comparable but is neither strictly less than nor strictly greater than another under the given order.
Render it with the named entity ≸, ≸, ≸, or CSS escape \2278. Compare with Less Than Or Greater Than (≷) and the dual relation Neither Greater Than Nor Less Than (≹, ≹).
⚡ Quick Reference — ntlg
U+2278Mathematical Operators
≸Hexadecimal reference
≸Decimal reference
≸Most readable in math markup
Name Value
──────────── ──────────
Unicode U+2278
Hex code ≸
HTML code ≸
Named entity ≸
CSS code \2278
Meaning Neither less-than nor greater-than
Related U+2277 = lt or gt (≷)
U+2279 = ntgl (≹, ≹)
U+2274 = nlsim (≴, ≴)Complete HTML Example
This example demonstrates ≸ using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:
<!DOCTYPE html>
<html>
<head>
<style>
#point::after{
content: "\2278";
}
</style>
</head>
<body>
<p>≸ using Hexadecimal: ≸</p>
<p>≸ using HTML Code: ≸</p>
<p>≸ using Named Entity: ≸</p>
<p id="point">≸ using CSS Entity: </p>
</body>
</html>🌐 Browser Support
U+2278 is widely supported wherever Unicode Mathematical Operators render correctly:
👀 Live Preview
See ≸ in order-relation and comparison contexts:
🧠 How It Works
Named Entity
≸ is the HTML named entity for U+2278—the most readable choice when writing order-relation markup.
Hexadecimal Code
≸ uses the Unicode hexadecimal value 2278. The x prefix indicates hexadecimal format.
Decimal HTML Code
≸ uses the decimal Unicode value 8824 to display the same character.
CSS Entity
\2278 is used in CSS stylesheets, particularly in the content property of pseudo-elements like ::before and ::after.
Same visual result
All four methods produce: ≸. Unicode U+2278 in Mathematical Operators. Related: ≷ (lt or gt), ≹ (≹).
Use Cases
The ≸ symbol (≸) is commonly used in:
Expressing that neither strict less-than nor strict greater-than holds.
Textbooks, papers, and lecture notes published as HTML.
Formal definitions in order theory and relation algebra.
Partial orders, lattices, and comparison semantics in coursework.
Discrete math modules with web-based notation.
Unicode charts and HTML entity documentation for math symbols.
💡 Best Practices
Do
- Use
≸for readable relation markup - Pair ≸ with plain-language description on first use
- Distinguish from ≷ (less or greater) and ≹ (
≹) - Add
aria-labelfor standalone relation symbols - Serve pages with UTF-8 (
<meta charset="utf-8">)
Don’t
- Confuse ≸ (
≸) with ≹ (≹)—they are different relations - Use padded Unicode notation like U+02278—the correct value is
U+2278 - Put CSS escape
\2278in HTML text nodes - Assume HTML entities perform mathematical evaluation
- Rely on the glyph alone without accessible description
Key Takeaways
Three HTML references plus CSS all render ≸
≸ ≸ ≸For CSS stylesheets, use the escape in the content property
\2278Unicode U+2278 — NEITHER LESS-THAN NOR GREATER-THAN
Mathematical Operators block (U+2200–U+22FF)
≸ is the preferred named entity for readable source markup
❓ Frequently Asked Questions
≸ (named), ≸ (hex), ≸ (decimal), or \2278 in CSS content. All produce ≸.U+2278 (NEITHER LESS-THAN NOR GREATER-THAN). Mathematical Operators block (U+2200–U+22FF). Hex 2278, decimal 8824. Named entity: ≸.≸, ≸, or ≸) go directly in markup. The CSS escape \2278 is used in stylesheets, typically in the content property of pseudo-elements. Same visual result, different layers of the stack.≸ is the named HTML entity for U+2278 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.
8 people found this page helpful
