The Pain of Ampersand in HTML

By Xah Lee. Date: . Last updated: .

Tip: whenever you want to write the ampersand symbol in HTML/XML, don't use &, use FULLWIDTH AMPERSAND instead. For example:


Here's how your browser renders it: AT&T vs AT&T

You can set up in emacs to easily type it, or setup a key layout in any of {Windows, Mac, Linux}. See: How to Create APL or Math Symbols Keyboard Layout

See also: Semantic of Symbols: HTML Entities, Ampersand, Unicode