Design.dev design.dev

HTML Entities Guide

Complete reference for HTML entities including symbols, arrows, math operators, currency symbols, accented characters, and more. Copy-paste ready entity codes with descriptions.

Introduction

HTML entities are special codes used to display characters that have special meaning in HTML or characters that aren't easily typed on a keyboard. They start with an ampersand (&) and end with a semicolon (;).

Types of HTML Entities

Named Entities

Human-readable names for characters

© → ©

Numeric Entities

Decimal or hexadecimal codes

© → ©

Required Escapes

Characters that must be escaped in HTML

< > &

Browser Support

All modern browsers support HTML entities

Works in all browsers

Tip: Use named entities when possible as they're more readable. Numeric entities work in all contexts but are harder to remember.

Essential Entities

These characters must be escaped in HTML to prevent parsing issues or to display correctly.

Character Entity Name Numeric Code Description
< &lt; &#60; Less than (must escape)
> &gt; &#62; Greater than (must escape)
& &amp; &#38; Ampersand (must escape)
" &quot; &#34; Double quote (in attributes)
' &apos; &#39; Single quote (in attributes)
  &nbsp; &#160; Non-breaking space

Symbols & Punctuation

Common symbols and punctuation marks used in web content.

Character Entity Name Numeric Code Description
© &copy; &#169; Copyright symbol
® &reg; &#174; Registered trademark
&trade; &#8482; Trademark symbol
&bull; &#8226; Bullet point
§ &sect; &#167; Section symbol
&para; &#182; Paragraph symbol
&dagger; &#8224; Dagger
&Dagger; &#8225; Double dagger
° &deg; &#176; Degree symbol
&hellip; &#8230; Horizontal ellipsis
&ndash; &#8211; En dash
&mdash; &#8212; Em dash
' &lsquo; &#8216; Left single quotation mark
' &rsquo; &#8217; Right single quotation mark
" &ldquo; &#8220; Left double quotation mark
" &rdquo; &#8221; Right double quotation mark

Arrows

Directional arrows for navigation, instructions, and UI elements.

Character Entity Name Numeric Code Description
&larr; &#8592; Left arrow
&rarr; &#8594; Right arrow
&uarr; &#8593; Up arrow
&darr; &#8595; Down arrow
&harr; &#8596; Left-right arrow
&varr; &#8597; Up-down arrow
&nwarr; &#8598; Northwest arrow
&nearr; &#8599; Northeast arrow
&searr; &#8600; Southeast arrow
&swarr; &#8601; Southwest arrow
&lArr; &#8656; Left double arrow
&rArr; &#8658; Right double arrow
&uArr; &#8657; Up double arrow
&dArr; &#8659; Down double arrow
&hArr; &#8660; Left-right double arrow

Math Symbols

Mathematical operators and symbols for equations and formulas.

Character Entity Name Numeric Code Description
± &plusmn; &#177; Plus-minus
× &times; &#215; Multiplication sign
÷ &divide; &#247; Division sign
&le; &#8804; Less than or equal
&ge; &#8805; Greater than or equal
&ne; &#8800; Not equal
&asymp; &#8776; Approximately equal
&infin; &#8734; Infinity
&sum; &#8721; Summation
&prod; &#8719; Product
&radic; &#8730; Square root
&int; &#8747; Integral
&part; &#8706; Partial derivative
&nabla; &#8711; Nabla (gradient)
&isin; &#8712; Element of
&notin; &#8713; Not element of
&cup; &#8746; Union
&cap; &#8745; Intersection
&empty; &#8709; Empty set
&ang; &#8736; Angle
&perp; &#8869; Perpendicular

Currency

Currency symbols from around the world.

Character Entity Name Numeric Code Description
&euro; &#8364; Euro
£ &pound; &#163; Pound sterling
¥ &yen; &#165; Yen/Yuan
$ &dollar; &#36; Dollar sign
¢ &cent; &#162; Cent sign
&inr; &#8377; Indian rupee
&ruble; &#8381; Russian ruble
&won; &#8361; Korean won
&shekel; &#8362; Israeli shekel
&dong; &#8363; Vietnamese dong

Greek Letters

Common Greek letters used in mathematics, science, and academic writing.

Character Entity Name Numeric Code Description
α &alpha; &#945; Alpha (lowercase)
β &beta; &#946; Beta (lowercase)
γ &gamma; &#947; Gamma (lowercase)
δ &delta; &#948; Delta (lowercase)
ε &epsilon; &#949; Epsilon (lowercase)
ζ &zeta; &#950; Zeta (lowercase)
η &eta; &#951; Eta (lowercase)
θ &theta; &#952; Theta (lowercase)
λ &lambda; &#955; Lambda (lowercase)
μ &mu; &#956; Mu (lowercase)
π &pi; &#960; Pi (lowercase)
σ &sigma; &#963; Sigma (lowercase)
τ &tau; &#964; Tau (lowercase)
φ &phi; &#966; Phi (lowercase)
ω &omega; &#969; Omega (lowercase)
Α &Alpha; &#913; Alpha (uppercase)
Β &Beta; &#914; Beta (uppercase)
Γ &Gamma; &#915; Gamma (uppercase)
Δ &Delta; &#916; Delta (uppercase)
Θ &Theta; &#920; Theta (uppercase)
Λ &Lambda; &#923; Lambda (uppercase)
Π &Pi; &#928; Pi (uppercase)
Σ &Sigma; &#931; Sigma (uppercase)
Φ &Phi; &#934; Phi (uppercase)
Ω &Omega; &#937; Omega (uppercase)

Accented Characters

Latin characters with diacritical marks for international text.

Character Entity Name Numeric Code Description
à &agrave; &#224; a with grave
á &aacute; &#225; a with acute
â &acirc; &#226; a with circumflex
ã &atilde; &#227; a with tilde
ä &auml; &#228; a with diaeresis
å &aring; &#229; a with ring
è &egrave; &#232; e with grave
é &eacute; &#233; e with acute
ê &ecirc; &#234; e with circumflex
ë &euml; &#235; e with diaeresis
ì &igrave; &#236; i with grave
í &iacute; &#237; i with acute
î &icirc; &#238; i with circumflex
ï &iuml; &#239; i with diaeresis
ò &ograve; &#242; o with grave
ó &oacute; &#243; o with acute
ô &ocirc; &#244; o with circumflex
õ &otilde; &#245; o with tilde
ö &ouml; &#246; o with diaeresis
ù &ugrave; &#249; u with grave
ú &uacute; &#250; u with acute
û &ucirc; &#251; u with circumflex
ü &uuml; &#252; u with diaeresis
ñ &ntilde; &#241; n with tilde
ç &ccedil; &#231; c with cedilla
ß &szlig; &#223; German eszett

Special Characters

Miscellaneous useful characters for various purposes.

Character Entity Name Numeric Code Description
&spades; &#9824; Spade suit
&clubs; &#9827; Club suit
&hearts; &#9829; Heart suit
&diams; &#9830; Diamond suit
&starf; &#9733; Black star
&star; &#9734; White star
&check; &#10003; Check mark
&cross; &#10007; Cross mark
&square; &#9744; Empty square
&checkmark; &#9745; Checked square
&crossmark; &#9746; Crossed square
&rarr; &#8594; Right arrow
&larr; &#8592; Left arrow
&uarr; &#8593; Up arrow
&darr; &#8595; Down arrow

Gotchas

Case sensitivity

Entity names are case-sensitive. &copy; works but &Copy; doesn't.

Missing semicolon

Always end entities with semicolon. &copy won't render correctly.

Unicode vs Entities

Modern browsers handle Unicode well. Consider using Unicode directly: © instead of &copy;

Performance

Named entities are slightly larger than numeric ones. Use numeric for performance-critical content.

Accessibility

Screen readers handle entities well, but test with actual screen reader software.

Character encoding

Ensure your HTML declares UTF-8 encoding: <meta charset="utf-8">

Best Practice: Use entities for characters that have special meaning in HTML (<, >, &) and Unicode for everything else. This provides the best balance of readability and performance.