📡 You're offline — showing cached content
New version available!
Quick Access
Tutorials HTML Fundamentals HTML Entities

HTML Entities

4 min read
HTML entities encode special characters that have meaning in HTML markup. Use &amp; for &, &lt; for <, &gt; for >, and &nbsp; for a non-breaking space. Always encode these when displaying them as content.

HTML Entities

&amp;    → &
&lt;     → <
&gt;     → >
&quot;   → "
&apos;   → '
&nbsp;   → non-breaking space
&copy;   → ©
&reg;    → ®
&trade;  → ™
&mdash;  → —
&ndash;  → –
&euro;   → €