All cheat sheets

Reference

HTML entities cheat sheet

Named HTML entities for characters that must be escaped in markup, plus the typographic punctuation, arrows, maths symbols and currency marks used in interfaces.

Escapes

Spaces

Punctuation

Arrows

Maths

Symbols

Things worth remembering

  • Only &, <, > and quotes inside attributes strictly need escaping in UTF-8 documents.
  • In JSX write literal braces as {"{"} rather than an entity.
  •   prevents both a line break and whitespace collapsing, which is why it fixes widowed words.

More Reference sheets