| Symbol Name | Greater-than Or Less-than |
| Unicode Version | 1.1 |
| Unicode | U+2277 |
| Unicode block | |
| General category | Math Symbol (Sm) |
| CSS Code |
| UTF-8 | E2 89 B7 |
| UTF-16 | 2277 |
| UTF-32 | 00002277 |
1\documentclass{article}2\usepackage{pifont}3\mathrm{≷}4\end{document}You can type the greater-than or less-than symbol on most modern devices with the help of following methods:
Alt + 8823 on Windows (numeric keypad with Num Lock), or insert via Character Map.
Edit → Emoji & Symbols, search "greater-than or less-than", or use Unicode Hex Input with 2277.
Ctrl + Shift + U, type 2277, then Enter (layout-dependent).
Paste from this page, use text replacement, or pick from the symbol keyboard.
Paste from this page or use a keyboard with math symbol support.
1span.greater-than-or-less-than::before { content: "\2277"; }1<span>≷</span>Greater-than Or Less-than symbol's representation in different programming languages can be found in the table below:
| Language | Representation |
|---|---|
| JavaScript / TypeScript | '\u2277' or String.fromCodePoint(0x2277) |
| Python | '\N{GREATER-THAN OR LESS-THAN}' or chr(8823) |
| Rust | '\u{2277}' |
| C / C++ | UTF-8 source or wchar_t with U+2277 |
| Go | string(rune(0x2277)) |
| Ruby | "\u2277" |
\2277 |
| Hex Code | 0x2277 |
| HTML Code | ≷ |
| LaTeX | \mathrm{≷} |
| Symbol | ≷ |
| URL encode (UTF-8 percent) | %E2%89%B7 |
| Spoken / screen reader name | Greater-than Or Less-than |