fsymbols
Loading symbols…
››
<

less-than sign

Less-than sign

The less-than sign means the value on the left is smaller than the one on the right: 2 < 5. This keyboard character also serves as a left angle bracket in HTML and an operator in code. In a personal message, <3 — “less than three” — is a sideways heart.

Text symbol
Also called
LT · less-than operator · left angle bracket
Search it as
less than operator · html lt · less than three
Shows up in
Anything that takes text · its shape is whatever your font draws

What < means

It means the left value is smaller than the right. The less-than operator makes a strict comparison: equal values do not qualify. Read 2 < 5 as “two is less than five.”

How does < work in code?

Its job depends on the language and surrounding characters. In many programming languages, score < limit tests whether the score is below the limit; <= also allows equality.

In a shell, the program that runs typed commands, < notes.txt tells a command to read its input from that file. In HTML, the language used to structure web pages, < begins tags.

What does <3 mean?

It is a sideways heart expressing affection. In personal or celebratory texts it adds love, thanks, or approval. Extra threes, as in <333, turn up the affection.

Technical in code; warm and informal before 3 in a personal message.

Read `<3` as a heart unless the surrounding text is mathematical.

What it means when someone sends it to you

3 readings
A message says `2 < 5`
A mathematical comparison: two is smaller than five.
A shared command contains `< notes.txt`
The file supplies input to the command.
A personal message ends with `<3`
The sender adds affection, thanks, or approval.

Don't confuse it with

2

Combination ideas

3
Sideways heart: affection, thanks, fondness.
Extra-emphatic affection.
Less than or equal to in many programming languages.

Worth knowing

  • The English mathematician Thomas Harriot is credited with introducing < and > as comparison signs in his algebra book, published in 1631 after his death.

Questions people ask

1

Why does < disappear in HTML?

HTML can treat it as markup. When writing HTML source, use `&lt;` to display a literal `<` in the page's text.

How to type <

Windows (Word)
Alt+XType 003C, then Alt+X to get <.
Windows
Win+Rrun charmap for the full table, or use the emoji picker's Ω symbols tab (Win + .).
macOS
Control+Command+SpaceOpen the character viewer and search “less-than sign”.
Linux
Ctrl+Shift+UType 003c, then Enter or Space.
HTML
&#x003C;
CSS
\003C
US English keyboard
Press Shift + comma. Other keyboard layouts can place < elsewhere.
Codes and encoding1 code points
HTML decimal
&#60;
HTML hex
&#x3C;
CSS content
content: "\003C";
Each escape is closed by the next backslash; a trailing space is needed before a literal hex digit.
URL encoded
%3C
1
On screen
1
Code points
1
JS .length
1
UTF-8 bytes

A visible symbol can contain several code points. JS .length counts UTF-16 units; UTF-8 counts bytes.

Families this belongs to

1

Maths & numbers1,835 symbols