The main problem with HTML entity ampersand is that it is not supported in all browsers.
semicolon & ;
This code line is a semicolon.
There are a few HTML entities that you should be aware of when writing HTML. These are:
This is a heading
This is a heading 2
This is a heading 3
How to use ampersands in HTML
An ampersand (&) is used to indicate a word or phrase that should be treated as one entity. For example, “<img src=”http://www.example.com/images/logo.gif” alt=”My Company Logo” />” would show the image “My Company Logo” if it is present on the page, and nothing else.