Skip to content
SoftwareSolutions.net
Cheat sheet

HTML Entities Cheat Sheet

HTML entities for characters that would otherwise break a page, such as angle brackets, ampersands, quotes and non-breaking spaces.

An entity is a code that displays a character safely in HTML. Use one wherever a symbol could be read as code.

Reserved characters

  • &lt; shows <
  • &gt; shows >
  • &amp; shows &
  • &quot; shows a double quote

Spacing and symbols

  • &nbsp; non-breaking space
  • &copy; shows ©
  • &euro; shows €
  • &mdash; shows —

Numeric forms

  • &#169; is the decimal code for ©
  • &#x00A9; is the hexadecimal code for ©