agyanadda@gmail.com

HTML Entities and Symbols

HTML Head & SEO 1 min read Updated Nov 30, 2026 Topic 30 of 33

Some characters have a special meaning in HTML. To show them as text, use entities.

Character Entity Description
< &lt; less than
> &gt; greater than
& &amp; ampersand
" &quot; double quote
(space) &nbsp; non-breaking space
© &copy; copyright
₹ &#8377; Indian rupee
→ &rarr; right arrow

With <meta charset="UTF-8"> you can also type symbols like ₹ and © directly.

Example

Example — Showing code and symbols HTML
<p>To make a paragraph, write &lt;p&gt;text&lt;/p&gt;.</p>
<p>Fish &amp; Chips</p>
<p>Price: &#8377;499 &nbsp; &rarr; &nbsp; Buy now</p>
<p>&copy; 2026 AgyanAdda</p>

Test Yourself With Exercises

Exercise 1 Multiple Choice

How do you show the < character as text?

Exercise 2 Fill in the Blank

The entity for the & character is &___;

Frequently Asked Questions

It adds a space that never breaks onto a new line, for example between a number and its unit (10&nbsp;km).