HTML CSS JavaScript SEO Python Posts Privacy About Contact

HTML Entities

HTML entities are used to display reserved characters in HTML.

HTML entities are used to display reserved characters in HTML.

HTML Entities

Some characters are reserved in HTML. If you use the less than (<) or greater than (>) signs in your text, the browser might mix them up with tags.

Character entities are used to display reserved characters in HTML. A character entity looks like this: &entity_name; OR &#entity_number;

To display a less than sign (<) we must write: &lt; or &#60;

Non-breaking Space

A common character entity used in HTML is the non-breaking space: &nbsp;

A non-breaking space is a space that will not break into a new line. Two words separated by a non-breaking space will stick together.

Preview