Less-than Sign

<

Shortcodes

Copy useful codes for less-than sign < to use in websites, apps, blogs, and docs.

Unicode
U+003C
Alt Code
60
HTML Code
&#60;
HTML Entity
&lt;
HEX Code
&#x003C;
CSS Code
\003C
JS/JSON
\u003C
Unix/C/PHP/JAVA
0x3C
URL-encode
%3C

Customize Less-than Sign

Customize <, download it as SVG or PNG, or copy the generated HTML snippet.

<
  

How to use Less-than Sign in HTML, CSS, and JS

Insert in HTML

1. Direct symbol:
<span><</span>
HTML Code:
<span>&#60;</span>
HTML Entity:
<span>&lt;</span>
HEX Code:
<span>&#x003C;</span>

Add with CSS

.less-than-sign::before {
  content: '\\003C';
}

Set it in JavaScript

document.querySelector('.less-than-sign').textContent = '<';
copied