How to create the ampersand symbol in HTML
A reference can be used to add special characters/symbols to an HTML webpage, an entity name, an entity number, or hexadecimal.
There are three methods for adding an ampersand in HTML:
The ampersand symbol
| Method | Ampersand symbol |
|---|---|
| Entity number | & |
| Entity name | & |
| Hexadecimal reference | & |
Code
Free Resources
Copyright ©2026 Educative, Inc. All rights reserved