HTML Entity Detail

HTML Entity - Ampersand

Ampersand is a reserved HTML characters and special typographic symbols. This HTML entity enables web developers to display this character reliably across all browsers without encoding issues.

Symbol preview
&
Unicode

U+00026

HTML entity

&

CSS code

\0026

Usage Examples

Use this HTML entity in HTML markup to display reserved characters without breaking the page structure. For example, use & to show an ampersand.

Common Mistakes

⚠️

Mistake: Forgetting to encode & as & in HTML content or attributes

Fix: Always use & to display a literal ampersand in HTML. In URLs, use %26 instead.

⚠️

Mistake: Using & in query strings without URL encoding

Fix: In URLs, encode & as %26. The & character has special meaning as a query parameter separator.

Ampersand

Select any code to highlight it before copying.

Category: Special Chars & Html
Unicode U+00026
Hex Code &
HTML Code &
HTML Entity &
CSS Code \0026
Windows Shortcut Alt 0038
Mac Shortcut
HTML code example
CSS code example
Last updated: 21 Jun 2026