HTML entities

HTML entities

Editorial Team
Editorial Team

Follow us on Discord or Telegram to get access to free tutorials and updates.

What are HTML entities?

Some characters are reserved in HTML. For example, if you use < or > symbols in your text, the browser may assume them as the markup. To solve this issue, you can use HTML entities.


<!DOCTYPE html>
    <title>HTML entities</title>
    <h4>This will be shown as a heading</h4>
    &lt;h4&gt;This will be shown as the markup&lt;/h4&gt;


This will be shown as a heading

<h4>This will be shown as the markup</h4>

Frequently used HTML entities

<&lt;Less than
>&gt;Greater than
&nbsp;Non-breaking space
"&quot;Quotation mark
®&reg;Registered trademark