Xerobit

Less Than Sign <: Copy and Paste

The less than sign is <. Click the button to copy it, or use the Unicode value U+003C, the HTML code or the keyboard shortcuts below to type it anywhere.

  • Symbol
    <
  • Unicode
    U+003C
  • HTML (decimal)
    &#60;
  • HTML (hex)
    &#x003C;
  • HTML entity
    &lt;
  • CSS
    \003C
  • JavaScript
    \u003C

Less Than Sign codes and values

FormatValue
UnicodeU+003C
HTML (decimal)&#60;
HTML (hex)&#x003C;
HTML entity&lt;
CSS\003C
JavaScript\u003C

The official Unicode name is "Less-Than Sign".

How to type the less than sign

Windows

  1. In Microsoft Word, type 003C and press Alt + X to turn the code into <.
  2. Or press Win + . to open the emoji and symbol panel and search for it.

Mac

  1. Press Control + Command + Space to open the Character Viewer and search for "less-than sign".
  2. Or add the "Unicode Hex Input" keyboard in System Settings, hold Option and type 003C.

Linux

  1. In GTK apps press Ctrl + Shift + U, type 003c and press Enter.

Web pages

Write &#60; or &lt; in HTML, or paste the character directly into a UTF-8 page.

Encoding details

EncodingValue
Code pointU+003C (decimal 60)
UTF-8 bytes3C
URL encoded%3C
CategorySm

What the less than sign means

This symbol shows that the preceding value is smaller than the following one. Programmers rely on it for conditional logic, while web developers use paired instances to enclose markup tags.

Using the less than sign well

Always encode this character as &lt; when placing it inside HTML body text so the browser does not mistake it for the start of an element tag.

Characters next to it in Unicode

CharacterCodeName
9U+0039Digit Nine
:U+003AColon
;U+003BSemicolon
=U+003DEquals Sign
>U+003EGreater-Than Sign
?U+003FQuestion Mark

FAQ

What is the Unicode for the less than sign?

The less than sign < is U+003C (Less-Than Sign).

How do I type < on a keyboard?

There is no classic Alt code for it. On Windows type 003C in Word and press Alt + X, on Mac use the Character Viewer, and on Linux press Ctrl + Shift + U then 003c.

What is the HTML code for <?

Use &#60; or the named entity &lt;. The hexadecimal form is &#x003C;.

More symbols