HTML Entity for Less Than Or Equal To (≤)

Beginner
5 min read
Updated: Sep 2026
1 example
Unicode U+2264

What Is the Less Than Or Equal To Entity?

Less Than Or Equal To (≤) is the Mathematical Operators character at Unicode U+2264 (LESS-THAN OR EQUAL TO). It is the everyday ≤ inequality used in ranges, bounds, and comparisons.

Remember
Character     ≤
Unicode       U+2264
Named entity  ≤  or  ≤
Hex entity    ≤
Decimal       ≤
CSS escape    \2264
Not the same  &lt; (<) · &ge; (≥) · ⋜ (U+22DC) · &leqq; (≦)

Prefer &le; (or &leq;) in HTML. Alternatives: &#x2264; or &#8804;. Pair with &ge; when you need greater-than or equal.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Named entity&le; or &leq;HTML markup (best default)
Hex entity&#x2264;HTML markup
Decimal entity&#8804;HTML markup
CSS escape\2264Stylesheet content
Direct character≤UTF-8 HTML text

When to Use Which

SituationUse
Readable inequality in HTML&le; or &leq;
Numeric entity required&#x2264; or &#8804;
Generated text via ::before / ::aftercontent: "\2264"
Greater than or equal (≥)Use &ge; (U+2265)
Strict less-than onlyUse &lt; (U+003C)

Live Preview

Less Than Or Equal To in common comparison contexts.

Inequality x ≤ 10
Large glyph ≤
Named entity &le; → ≤
vs < / ≥ / ≦ ≤  |  <  |  ≥  |  ≦
With entities Named: ≤ | Hex: ≤ | Decimal: ≤

Complete HTML Example

One page that shows this symbol with named, hex, decimal, and CSS. Use View Output or open the live editor.

Named + Hex + Decimal + CSS

Four ways to produce ≤ in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Less Than Or Equal To (≤)</title>
  <style>
    #point::after {
      content: "\2264";
    }
  </style>
</head>
<body>
  <p>Using Named: &le;</p>
  <p>Using Alias: &leq;</p>
  <p>Using Hex Code: &#x2264;</p>
  <p>Using HTML Code: &#8804;</p>
  <p id="point">Using CSS Entity: </p>
  <p><code>x &le; 10</code></p>
</body>
</html>
Try It Yourself

How It Works

1. Named: &le; and &leq; are HTML5 names for U+2264 → ≤. Prefer &le; for short, readable source.

2. Hex: U+2264 → &#x2264; in HTML. Same glyph as named.

3. Decimal: same code point as 8804 → &#8804;.

4. CSS: use \2264 in content (not an HTML entity). #point::after appends that ≤ after the paragraph text.

5. Pair: use &ge; for ≥. Use &lt; when the comparison must be strict (< only).

Pitfalls & Tips

Common mistakes when working with Less Than Or Equal To.

Strict

&le; ≠ &lt;

&lt; is strict less-than. Use &le; when equal values must also be allowed.

Pair

Mirror is &ge;

Greater-than or equal is U+2265 — use &ge; / &geq;, not a CSS flip of ≤.

Look-alikes

≠ ≦ / ⋜

&leqq; (U+2266) and equal-to-or-less-than (U+22DC) are different glyphs. Prefer &le; for everyday ≤.

Fonts

Wide support

U+2264 is available in almost all modern fonts used for web UI and docs.

CSS vs HTML

Do not mix escapes

\2264 belongs in CSS. &le; / &#x2264; / &#8804; belong in HTML.

A11y

Add nearby words

Pair the glyph with label text (for example x &le; 10) or use aria-label when it stands alone.

Semicolon

End references

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

Browser Support

Less Than Or Equal To (U+2264) and its entity forms (&le;, &leq;, &#x2264;, &#8804;, CSS \\2264) are supported in all modern browsers. Glyph coverage is excellent for this common operator.

✓ Universal encoding

Less Than Or Equal To (&#x2264;)

Encode with named, hex, decimal, or CSS escape — or type ≤ directly in UTF-8 HTML.

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+2264 Full support

Bottom line: Prefer &le; or &leq; for readable HTML. Use \\2264 only inside CSS content.

Key Takeaways

  • Unicode: this symbol is U+2264 (decimal 8804).
  • HTML: prefer &le; or &leq; — also &#x2264; / &#8804;.
  • CSS: use \2264 inside content for generated text.
  • Watch out: &le; ≠ &lt; ≠ &ge;.

One line: U+2264 → &le; / &leq; / &#x2264; / CSS \2264.

Frequently Asked Questions

Use &le; or &leq; (named), &#x2264; (hex), &#8804; (decimal), or the CSS escape \2264 in the content property. All render ≤ when the font supports Mathematical Operators.
U+2264 (LESS-THAN OR EQUAL TO). Hex 2264, decimal 8804. It belongs to Mathematical Operators (U+2200–U+22FF).
Yes. HTML5 defines &le; and &leq; for U+2264. Prefer &le; for short, readable markup.
Use it for inequalities, ranges, and upper bounds (for example age ≤ 18 or x ≤ 10). Prefer &le; in HTML body text.
HTML entities (&le;, &leq;, &#8804;, or &#x2264;) go in markup. The CSS escape \2264 is used in stylesheets (usually in the content property of ::before/::after). Both render ≤.
&lt; is plain less-than (U+003C). U+22DC is equal-to-or-less-than (⋜) with no named entity. &le; is the everyday ≤ inequality.

Did you know?

Less Than Or Equal To is Unicode U+2264 (decimal 8804) — LESS-THAN OR EQUAL TO in Mathematical Operators. HTML5 named entities: &le; and &leq;. Pair with &ge; / &geq; for ≥. Do not confuse it with U+22DC (equal to or less-than) or &leqq; (≦).

Next: Less Than Or Equivalent To

Learn the HTML entity for Less Than Or Equivalent To — next in this sequence.

Continue 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