What are HTML Entities?

HTML entities are used to display reserved characters in HTML. For example, you cannot use the less than (<) or greater than (>) signs directly in your text because browsers will interpret them as tags.

Why use Entities?

  • To display reserved characters like <, >, and &.
  • To display characters that are not on your keyboard.
  • To ensure characters are rendered correctly across all browsers.

Common HTML Entities

ResultDescriptionEntity NameEntity Number
 non-breaking space&nbsp;&#160;
<less than&lt;&#60;
>greater than&gt;&#62;
&ampersand&amp;&#38;
"double quotation mark&quot;&#34;
©copyright&copy;&#169;

Example Usage

<p>The &lt;h1&gt; tag is for headings.</p>
<p>Prices start at &amp;euro;100.</p>
<p>Copyright &amp;copy; 2026 HiFi Toolkit.</p>