HTML Entity for Less Than Or Equal To (≤)

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

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 &#x2264;, &#8804;, &le;, 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

Unicode U+2264

Mathematical Operators

Hex Code &#x2264;

Hexadecimal reference

HTML Code &#8804;

Decimal reference

Named Entity &le;

Most readable option

Reference Table
Name           Value
────────────   ──────────
Unicode        U+2264
Hex code       &#x2264;
HTML code      &#8804;
Named entity   &le;
CSS code       \2264
Meaning        Less-than or equal to
Pair with      &ge; = greater-than or equal (≥)
1

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:

html
<!DOCTYPE html>
<html>
<head>
 <style>
  #point:after{
   content: "\2264";
  }
 </style>
</head>
<body>
<p>Symbol (hex): &#x2264;</p>
<p>Symbol (decimal): &#8804;</p>
<p>Symbol (named): &le;</p>
<p id="point">Symbol (CSS): </p>
</body>
</html>
Try it Yourself

🌐 Browser Support

The Less Than Or Equal To symbol (≤) is supported in all modern browsers:

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

👀 Live Preview

See the Less Than Or Equal To symbol (≤) in comparison contexts:

Large glyph
Named entity &le; renders as ≤
Inequality x ≤ 10   n ≤ 100
Range 0 ≤ x ≤ 100
Numeric refs &#x2264; &#8804; &le; \2264

🧠 How It Works

1

Hexadecimal Code

&#x2264; uses the Unicode hexadecimal value 2264 to display the symbol. The x prefix indicates hexadecimal format.

HTML markup
2

Decimal HTML Code

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

HTML markup
3

Named Entity

&le; is the semantic named entity — the easiest to read in source HTML for this common inequality symbol.

HTML markup
4

CSS Entity

\2264 is used in CSS stylesheets in the content property of pseudo-elements like ::after.

CSS stylesheet
=

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:

📐 Mathematics

Inequalities and bounds (e.g. x ≤ 10, upper limits).

💻 Programming

Docs for <= operators and comparison APIs.

📚 Education

Textbooks, courses, and online math tutorials.

📄 Specifications

Maximum requirements, version ceilings, and numeric limits.

🔢 Data & stats

Charts, tables, and reports showing upper bounds.

📚 Symbol references

HTML entity cheat sheets and Unicode documentation.

💡 Best Practices

Do

  • Prefer &le; for readable, maintainable HTML
  • Use ≤ with ≥ (&ge;) 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 &lt; (U+003C)
  • Put CSS escape \2264 in HTML text nodes
  • Confuse with (U+22DC variant)
  • Rely on the symbol alone without explanatory text for screen readers

Key Takeaways

1

Three HTML references plus CSS all render ≤

&#x2264; &#8804; &le;
2

For CSS stylesheets, use the escape in the content property

\2264
3

Unicode U+2264 — LESS-THAN OR EQUAL TO

4

&le; is the standard named entity for everyday HTML

❓ Frequently Asked Questions

Use &#x2264; (hex), &#8804; (decimal), &le; (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: &le;.
In mathematical inequalities and comparisons, programming and logic documentation, academic papers and textbooks, technical specifications (e.g. maximum requirements), set theory and algebra, and any content expressing “less than or equal to” relations.
&le; 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.
Less-than (&lt;) excludes equality. Less-than-or-equal (≤) includes equality. Greater-than-or-equal (≥, &ge;) 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.

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