HTML Entity for Less Than Or Equal To (≤)

What You'll Learn
How to display the Less Than Or Equal To (≤) symbol in HTML using hexadecimal, decimal, named entity, and CSS escape methods. This character is U+2264 (LESS-THAN OR EQUAL TO) in the Mathematical Operators block (U+2200–U+22FF).
Render it with ≤, ≤, ≤, or CSS escape \2264. It is one of the most common math operators—used in inequalities, comparisons, upper bounds, and programming conditions. Not the same as plain < (strict less-than) or the variant Equal To Or Less-Than (⋜, U+22DC).
⚡ Quick Reference — Less Than Or Equal To
U+2264Mathematical Operators
≤Hexadecimal reference
≤Decimal reference
≤Most readable option
Name Value
──────────── ──────────
Unicode U+2264
Hex code ≤
HTML code ≤
Named entity ≤
CSS code \2264
Meaning Less-than or equal to
Pair with ≥ = greater-than or equal (≥)Complete HTML Example
A simple example showing the Less Than Or Equal To (≤) using hexadecimal code, decimal HTML code, the named entity, and a CSS content escape:
<!DOCTYPE html>
<html>
<head>
<style>
#point:after{
content: "\2264";
}
</style>
</head>
<body>
<p>Symbol (hex): ≤</p>
<p>Symbol (decimal): ≤</p>
<p>Symbol (named): ≤</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>🌐 Browser Support
The Less Than Or Equal To symbol (≤) is supported in all modern browsers:
👀 Live Preview
See the Less Than Or Equal To symbol (≤) in comparison contexts:
🧠 How It Works
Hexadecimal Code
≤ uses the Unicode hexadecimal value 2264 to display the symbol. The x prefix indicates hexadecimal format.
Decimal HTML Code
≤ uses the decimal Unicode value 8804 to display the same character.
Named Entity
≤ is the semantic named entity — the easiest to read in source HTML for this common inequality symbol.
CSS Entity
\2264 is used in CSS stylesheets in the content property of pseudo-elements like ::after.
Same visual result
All four methods produce ≤. Unicode U+2264 is in the Mathematical Operators block. Previous: Less Than Equal To Greater Than.
Use Cases
The Less Than Or Equal To symbol (≤) is commonly used in:
Inequalities and bounds (e.g. x ≤ 10, upper limits).
Docs for <= operators and comparison APIs.
Textbooks, courses, and online math tutorials.
Maximum requirements, version ceilings, and numeric limits.
Charts, tables, and reports showing upper bounds.
HTML entity cheat sheets and Unicode documentation.
💡 Best Practices
Do
- Prefer
≤for readable, maintainable HTML - Use ≤ with ≥ (
≥) for inclusive ranges - Use math fonts when stacking with other operators
- Provide text context for accessibility (e.g. “at most 10”)
- Serve pages with UTF-8 (
<meta charset="utf-8">)
Don’t
- Use raw
<=in HTML when you mean the math symbol ≤ in prose - Confuse ≤ with strict
<(U+003C) - Put CSS escape
\2264in HTML text nodes - Confuse with ⋜ (U+22DC variant)
- Rely on the symbol alone without explanatory text for screen readers
Key Takeaways
Three HTML references plus CSS all render ≤
≤ ≤ ≤For CSS stylesheets, use the escape in the content property
\2264Unicode U+2264 — LESS-THAN OR EQUAL TO
≤ is the standard named entity for everyday HTML
Previous: Less Than Equal To Greater Than Next: Less Than Or Equivalent To
❓ Frequently Asked Questions
≤ (hex), ≤ (decimal), ≤ (named), or \2264 in CSS content. All produce ≤.U+2264 (LESS-THAN OR EQUAL TO). Mathematical Operators block (U+2200–U+22FF). Hex 2264, decimal 8804. Named entity: ≤.≤ is short, readable, and easy to remember. It is the standard way to represent less-than-or-equal in HTML and is widely supported. Use it when editing HTML by hand for better maintainability.<) excludes equality. Less-than-or-equal (≤) includes equality. Greater-than-or-equal (≥, ≥) is the opposite bound. Use ≤ and ≥ together for inclusive ranges like 0 ≤ x ≤ 100.Explore More HTML Entities!
Discover 1500+ HTML character references — inequalities, comparisons, and more.
8 people found this page helpful
