Search
Search for a symbol or emoji...
≶
≶
Less-Than or Greater-Than Symbol ≶
Less-Than or Greater-Than Symbol Information
| Symbol Name | Less-Than or Greater-Than |
| Unicode Version | 1.1 (June 1993) |
| Unicode | U+2276 |
| CSS Code | \2276 |
| HTML Entity | ≶ |
| Hex Code | ≶ |
| HTML Code | ≶ |
| Latex | \lessgtr |
| Symbol | ≶ |
Less-Than or Greater-Than Symbol Encoding
| UTF-8 | 0xE2 0x89 0xB6 |
| UTF-16 | 0x2276 |
| UTF-32 | 0x00002276 |
How to add less-than or greater-than symbol via keyboard on different Operating systems
You can type the less-than or greater-than symbol on most modern devices with the help of following methods:
How to type less-than or greater-than symbol on Microsoft Word
You can type the less-than or greater-than in Microsoft Word using steps mentioned below:
- Place your cursor in the text area where you need to insert the symbol and type 2276
- Without moving the cursor press keys Alt + x together
- The original 2276 is now transformed into ≶
How to type less-than or greater-than symbol on Microsoft Windows
You can type the less-than or greater-than on Microsoft windows using following steps:
- Hold Alt and press to type less-than or greater-than on your windows machine.
How to type less-than or greater-than symbol on Mac OS
You can type the less-than or greater-than on Mac OS using following steps:
- Place your cursor in the text area where you need to insert the symbol
- Press Ctrl + ⌘ Command + ⎵ Space to bring up the Character Viewer. Alternatively, choose Edit ⇒ Emoji & Symbols
- Type "Less-Than or Greater-Than" in the search field at the top and press Enter
- The symbol should appear. Click on it to insert it into your text


How to type less-than or greater-than symbol on Linux
You can type the less-than or greater-than on Linux using following steps:
- Place your cursor in the text area where you need to insert the symbol
- Hold ⇧ Shift + Ctrl and press the letter + U
- Press keys 2276 consecutively
- And then press ↵ Enter , the desired symbol will be added to your document
How to type less-than or greater-than symbol on IOS and Android
The easiest way to type the less-than or greater-than symbol on ios and android is to copy and paste it wherever you need it.
How to use less-than or greater-than in CSS
//CSS Example
1span {
2 content: \2276;
3 }How to use less-than or greater-than in HTML
//HTML Example
1<span>≶</span>Less-Than or Greater-Than symbol representation in programming languages
Less-Than or Greater-Thansymbol's representation in different programming languages can be found in table below:
| Language | Representation |
|---|---|
| Rust | \u{2276} |
| Ruby | \u{2276} |
| Python | \u2276 |
| PHP | \u{2276} |
| Perl | \x{2276} |
| Java | \u2276 |
| Modern JavaScript - Since ES6 | \u{2276} |
| JavaScript | \u2276 |
| Go | \u2276 |
| C# | \u2276 |
| C and C++ | \u2276 |
| Bash and Zsh - inside echo -e | \u2276 |
| RFC 5137 | \u'2276' |
