Ampersand HTML Entity

&

Copy and Code Reference

The ampersand begins every HTML character reference, so a literal ampersand should be encoded when it could be read as the start of an entity.

HTML Codes

Named entity&
Decimal reference&
Hexadecimal reference&
UnicodeU+0026

When to Use It

Use & in URLs displayed as text, company names, code examples, and any content where an unescaped ampersand could create ambiguous markup.

Keep the final semicolon in every character reference. Modern UTF-8 documents can also contain the literal character when it is not part of HTML syntax.