HTML character entities

Prefer UTF-8 characters in modern pages; entities still help inside attributes and legacy content.

Updated:

CharacterEntityName
<&lt;Less than
>&gt;Greater than
&&amp;Ampersand
"&quot;Double quote
'&apos;Apostrophe
 &nbsp;Non-breaking space
©&copy;Copyright
®&reg;Registered
&trade;Trademark
&euro;Euro
£&pound;Pound
¥&yen;Yen
&ndash;En dash
&mdash;Em dash
&hellip;Ellipsis
×&times;Multiplication
÷&divide;Division
°&deg;Degree

Notes

Frequently asked questions

When should I use &nbsp; instead of a normal space?
Use &nbsp; where you don’t want a line break, such as between a number and its unit or between a title and a name.
Do I need &copy; or can I just type ©?
With UTF-8 encoding you can type © directly; &copy; is mainly useful in legacy encodings or attribute contexts.
What is the entity for the < character?
Use &lt; so the browser doesn’t treat it as the start of a tag.