Skip to content

Instantly share code, notes, and snippets.

@kielmarj
Last active November 11, 2024 11:04
Show Gist options
  • Select an option

  • Save kielmarj/ac3476e8cbbbd1b1d28994d17226802c to your computer and use it in GitHub Desktop.

Select an option

Save kielmarj/ac3476e8cbbbd1b1d28994d17226802c to your computer and use it in GitHub Desktop.
Quick reference chart for displaying special characters in html/markdown.

HTML Character Entities

Quick reference chart for displaying special characters in html/markdown.

Entity Rendered Character Description
    Non-breaking space
© © Copyright
® ® Registered trademark
™ Trademark
░ 25% (¼) shaded block
▒ 50% (½) shaded block
▓ 75% (¾) shaded block
█ Fully shaded block
★ Star
✓ Check mark
✗ Cross mark
⧉ Square on top of a square (copy-paste symbol)
⤓ Down arrow with bar (download symbol)
⇵ Down arrow then up arrow
␣ Blank symbol (sometimes used to represent a space)
𝕒 𝕒 Open face letters a-z
𝔸 𝔸 Open face letters A-Z
𝒶 𝒶 Script letters a-z
𝒜 𝒜 Script letters A-Z
¶ Pilcrow (paragraph sign)
§ § Section sign
… Horizontal ellipsis
∴ Therefore
∵ Because
• Bullet point
⋄ Diamond shape
◊ Lozenge
⧫ Black lozenge
▪ Black square
♠ Spades
♣ Clubs
♥ Hearts
♦ Diamonds
↑ Up-pointing arrow
⇑ Double up-pointing arrow
↓ Down-pointing arrow
⇓ Double down-pointing arrow
← Left-pointing arrow
⇐ Double left-pointing arrow
‹ Single left angle quote
« « Double left angle quote
→ Right-pointing arrow
⇒ Double right-pointing arrow
› Single right angle quote
» » Double right angle quote
↔ Left/right arrow
⇔ Left/right double arrow
&lt; < Less-than
&gt; > Greater-than
&le; Less than or equal
&ge; Greater than or equal
&asymp; Almost equal to
&cong; Approximately equal to
&equiv; Identical to; equivalent
&ne; Not equal
&infin; Infinity
&iexcl; ¡ Inverted exclamation mark
&iquest; ¿ Inverted question mark
&plusmn; ± Plus/minus sign
&times; × Multiplication sign
&divide; ÷ Division sign
&deg; ° Degree symbol
&sup1; ¹ Superscript 1
&sup2; ² Superscript 2 (and so on)
&frac14; ¼ One-fourth fraction
&frac12; ½ One-half fraction
&frac34; ¾ Three-fourths fraction
&cent; ¢ Cent sign
&pound; £ Pound sign
&yen; ¥ Yen sign
&euro; Euro sign

Not an exhaustive list, there are many more. w3schools has nice reference charts; the HTML4 character entity reference chart, is a good place to start. Use the sidebar to view all HTML5 character entities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment