What are HTML entities?
Prabhat Patidar
1 min read
There are some reserved keywords in HTML and they have special meaning to it when used in HTML documents. For example, we cannot use the greater than (<) and less than (>) signs or angle brackets within your HTML text because the browser will treat them differently and will try to draw a meaning related to the HTML tag.
So, the HTML Character entities are used to display reserved characters in HTML.
For Example:
Syntax: For using entities…
&entity_name;
OR
&#entity_number;
(Used for Non-Breaking space in HTML)
0
Subscribe to my newsletter
Read articles from Prabhat Patidar directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by