Special Characters in HTML


Some characters are reserved in HTML and they have special meaning when used in HTML document. For example, you 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 HTML tag.

HTML processors must support following five special characters listed in the table that follows.

Symbol
Description
Entity Name
Number Code
 "
quotation mark
""
'apostrophe
''
&
ampersand
&&
<
less-than
&lt;&#60;
>
greater-than
&gt;&#62;

Updated on: 29-Jan-2020

5K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements