Missing something?

HTML Character Entities Cheat Sheet

A comprehensive cheat sheet for HTML character entities, special characters, Latin characters, Greek letters, punctuation, symbols, and mathematical operators, including their HTML entity names, numeric codes, and descriptions.

HTML Special Characters

Basic HTML Entities

These entities represent characters that have special meaning in HTML or are not easily typed on a standard keyboard.

HTML Symbol Numeric Description Hex CSS (ISO) JS (Octal)
" " quotation mark u+0022 \0022 \42
& & & ampersand u+0026 \0026 \46
' ' apostrophe u+0027 \0027 \47
< < < less-than u+003C \003c \74
> > > greater-than u+003E \003e \76

Usage Notes:

  • Always use these entities for the characters mentioned above to avoid rendering issues.
  • &amp; is crucial when including HTML code within HTML code.

Other Special Characters

Additional special characters and their corresponding HTML entities.

HTML Symbol Numeric Description Hex CSS (ISO) JS (Octal)
# # # number sign u+0023 \0023 \43
$ $ $ dollar sign u+0024 \0024 \44
% % % percent sign u+0025 \0025 \45
* * * asterisk u+002A \002a \52
/ / / solidus; slash u+002F \002f \57

Use Cases:

  • Displaying mathematical expressions, file paths, or code snippets.

HTML Latin Characters

Latin Characters and Accents

HTML entities for Latin characters with accents and other diacritical marks.

HTML Symbol Numeric Description Hex CSS (ISO) JS (Octal)
á á á small a, acute accent %E1 \00e1 \341
é é é small e, acute accent %E9 \00e9 \351
í í í small i, acute accent %ED \00ed \355
ó ó ó small o, acute accent %F3 \00f3 \363
ú ú ú small u, acute accent %FA \00fa \372
ñ ñ ñ small n, tilde %F1 \00f1 \361

Important Notes:

  • Use these entities to properly display accented characters in different languages.
  • Improves accessibility and SEO by using the correct character encoding.

Latin Ligatures and Miscellaneous

Entities for Latin ligatures and other special Latin characters.

HTML Symbol Numeric Description Hex CSS (ISO) JS (Octal)
æ æ æ small ae diphthong (ligature) %E6 \00e6 \346
Æ Æ Æ capital AE diphthong (ligature) %C6 \00c6 \306
ç ç ç small c, cedilla %E7 \00e7 \347
Œ Œ Œ latin capital ligature oe u+0152 \0152 \u0152
œ œ œ latin small ligature oe u+0153 \0153 \u0153

Best Practices:

  • Ensure proper rendering of specific characters in French, German, and other European languages.

HTML Greek Letters and Symbols

Greek Alphabet Entities

HTML entities representing Greek letters, commonly used in mathematical and scientific notation.

HTML Symbol Numeric Description Hex CSS (ISO) JS (Octal)
α α α greek small letter alpha u+03B1 \03b1 \u03b1
β β β greek small letter beta u+03B2 \03b2 \u03b2
γ γ γ greek small letter gamma u+03B3 \03b3 \u03b3
δ δ δ greek small letter delta u+03B4 \03b4 \u03b4
ε ε ε greek small letter epsilon u+03B5 \03b5 \u03b5
ω ω ω greek small letter omega u+03C9 \03C9 \u03c9

Usage:

  • Displaying mathematical formulas, physics equations, and other scientific notations.

HTML Symbols and Mathematical Operators

Common Symbols

HTML entities for frequently used symbols and special characters.

HTML Symbol Numeric Description Hex CSS (ISO) JS (Octal)
© © © copyright sign %A9 \00a9 \251
® ® ® registered sign %AE \00ae \256
trademark sign u+2122 \2122 \u2122
    no-break space %A0 \00a0 \240
§ § § section sign %A7 \00a7 \247
£ £ £ pound sterling sign %A3 \00a3 \243

Notes:

  • &nbsp; is essential for preventing line breaks where they are not desired.
  • &copy;, &reg;, and &trade; are used for legal and trademark indications.

Mathematical Operators

HTML entities for mathematical operators and symbols.

HTML Symbol Numeric Description Hex CSS (ISO) JS (Octal)
± ± ± plus-or-minus sign %B1 \00b1 \261
÷ ÷ ÷ divide sign %F7 \00f7 \367
square root u+221A \221A \u221a
infinity u+221E \221E \u221e
not equal to u+2260 \2260 \u2260
identical to u+2261 \2261 \u2261

Recommendations:

  • Use these entities to accurately represent mathematical expressions and equations in HTML documents.