HTML Special Chars
<

Less-Than Sign (<)

The less-than sign is reserved in HTML for opening markup tags. In raw text, always use &lt; to ensure browsers do not interpret user input as an HTML element.

One-Click Copyable Code Formats

HTML Named Entity
&lt;
HTML Decimal Code
&#60;
HTML Hex Code
&#x3C;
CSS content (\XXXX)
\003C
JavaScript Unicode (\uXXXX)
\u003C
URL Percent Encoded
%3C

Real-World Implementation Snippets

HTML5 Document
<p>Example: &lt;</p>
CSS ::before / ::after
.badge::before { content: '\003C '; }
React JSX / TypeScript
<span>{"\u003C"}</span>
Frequently Asked Questions

Less-Than Sign (<) HTML Entity FAQ

Common questions regarding HTML escape codes, CSS pseudo-elements, and browser character encoding.

The standard HTML named entity is "&lt;". If using numeric codes, you can use the decimal code "&#60;" or hex code "&#x3C;".