An HTML entity is a string that begins with '&' and ends with ';'. Entities can be used to represent any character in HTML.

However, HTML reserves the four characters: &, <, >, and ". Browsers interpret these characters instead of displaying them in the output. To display these characters in your content, use the entity values listed in the table below.

Character Entity Note
& &amp; Character indicates the beginning of an entity.
< &lt; Character indicates the beginning of a tag
> &gt; Character indicates the ending of a tag
" &quot; Character indicates the beginning and end of an attribute value.

Learn more

Technical reference

Document Tags and Contributors

 Last updated by: writerkac,