GreaterThanSymbol

Greater Than Sign in HTML, CSS & JavaScript

> for >, ≥ for ≥ – plus CSS, JavaScript, Python and URL-encoded forms.

HTML entities for comparison symbols

SymbolNameHTMLUnicodeDecimal
>Greater-than sign>
>
U+003E62
≥Greater-than or equal to≥
≥
U+22658805
⩾Greater-than or slanted equal to⩾
⩾
U+2A7E10878
≫Much greater-than≫
≫
U+226B8811
<Less-than sign&lt;
&#60;
U+003C60
≤Less-than or equal to&le;
&#8804;
U+22648804
⩽Less-than or slanted equal to&les;
&#10877;
U+2A7D10877
≪Much less-than&ll;
&#8810;
U+226A8810
≠Not equal to&ne;
&#8800;
U+22608800
≈Almost equal to&asymp;
&#8776;
U+22488776
≡Identical to&equiv;
&#8801;
U+22618801
±Plus-minus sign&plusmn;
&#177;
U+00B1177

Code snippets

Language≥ (U+2265)> (U+003E)
HTML&ge; &#8805; &#x2265;&gt; &#62;
CSS content"\2265""\3E"
JavaScript / JSON"\u2265", String.fromCodePoint(0x2265)"\u003E"
Python"\u2265", chr(8805)chr(62)
Java / C#"\u2265""\u003E"
URL encoding%E2%89%A5%3E
UTF-8 bytesE2 89 A53E

Do I need to escape > in HTML?

< must be escaped as &lt; in text because it can start a tag. A bare > is technically allowed in normal text, but escaping it as &gt; is the safe convention – and it is required inside some contexts such as XML. Inside attribute values always escape quotes, and prefer entities for < and >. On a UTF-8 page you can paste ≥ directly; entities are only needed if your editor or CMS mangles special characters.

Frequently asked questions

What is the HTML entity for greater than?

&gt; (or &#62;). For greater than or equal to use &ge; (or &#8805;).

How do I add ≥ with CSS?

Use the escape in a pseudo-element: .min::before { content: "\2265"; }

What is the JavaScript code for ≥?

Use the string "\u2265" or String.fromCodePoint(0x2265). The comparison operator itself is >=.