Skip to main content

Posts

Showing posts from September, 2021

HTML entities

HTML Entities HTML Entities Some characters are reserver in html. If you use the less than (<) or greater than (&gt) signs in your text, the browser might mix them 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; Advantages of using an entity name: An entity name is easy to remember. Disadvantages of using an entity name: Browsers may not support all entity names, but the support for entity numbers is good. Some usefull HTML Character Entities Result Description Entity Name Entity Number non-breaking space ...