Less-Than Sign HTML Entity

<

Copy and Code Reference

The less-than sign can begin an HTML tag. Encode it whenever the character is intended to appear as ordinary text rather than markup.

HTML Codes

Named entity&lt;
Decimal reference&#60;
Hexadecimal reference&#x3C;
UnicodeU+003C

When to Use It

This is essential when displaying mathematical comparisons, template syntax, source code, or user-provided text inside an HTML document.

Keep the final semicolon in every character reference. Modern UTF-8 documents can also contain the literal character when it is not part of HTML syntax.