HTML Entities, Symbols, Codes

Manas BarmanManas Barman
1 min read

Briefly explain what HTML entities are.

  • There are some characters in HTML like < > which are also called reserved characters.

  • So if we like to use less than(<) or greater than(>) signs in our text or content, the browser will confuse and mix them with HTML tags.

  • In order to display these characters for example less than(<) we must use character entities to display reserved characters or reserved keywords as a simple characters in HTML.

  • A character entity can be written in two ways- &entity_name; or #entity_number e.g. &gt; indicates greater than or #62; indicates greater than

0
Subscribe to my newsletter

Read articles from Manas Barman directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Manas Barman
Manas Barman

I am a Electrical Graduate. Also,I am a Full stack Web Developer.