Skip to content

Instantly share code, notes, and snippets.

@richardcornish
Last active November 8, 2023 01:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save richardcornish/1454006 to your computer and use it in GitHub Desktop.
Save richardcornish/1454006 to your computer and use it in GitHub Desktop.
Common typographical characters

Cheatsheet of common typographical characters (not an exhaustive reference). HTML character references listed are decimal numeric character references, which are the base-10 equivalent of their corresponding base-16 (hexadecimal) Unicode code point. Also see named character references.

Quotations

Glyph HTML reference Name
‘ Left single quotation mark
’ Right single quotation mark/apostrophe
“ Left double quotation mark
” Right double quotation mark
' ' Typewriter single quotation mark
" " Typewriter double quotation mark
′ Prime (feet/minutes)
″ Double prime (inches/seconds)
‴ Triple prime (1/60 of second of arc)
‚ Single low-9 quotation mark
„ Double low-9 quotation mark
‹ Single angle quote left (single guillemet left)
› Single angle quote right (single guillemet right)
« « Double angle quote left (double guillemet left)
» » Double angle quote right (double guillemet right)
「 Left corner bracket (outermost)
」 Right corner bracket (outermost)
『 Left corner bracket (innermost)
』 Right corner bracket (innermost)
̏ ̏ Double grave accent
´ ´ Acute accent with no letter
˝ ˝ Double acute accent

Punctuation

Glyph HTML reference Name
. . Full stop (period)
& & Ampersand
- - Hyphen-minus (typewriter artifact)
‐ Hyphen (compound modifier)
‒ Figure dash (phone number)
– En dash (range of numbers)
— Em dash (dramatic pause)
… Ellipsis (three dot leader)
¡ ¡ Inverted exclamation mark
¿ ¿ Inverted question mark
‽ Interrobang (?! combination)
⸮ Irony
• Bullet (black small circle)
· · Middle dot/Interpunct (multiplication/£1·50)
‧ Hyphenation point (dictionary definition)
¶ Pilcrow (paragraph)
․ One dot leader (table of contents)

Ligatures

Glyph HTML reference Name
ff Latin small ligature ff
fi Latin small ligature fi
fl Latin small ligature fl
ſt Latin small ligature long ft
ffi Latin small ligature ffi
ffl Latin small ligature ffl
st Latin small ligature st
Æ Æ Latin capital letter AE
æ æ Latin small letter ae
ΠΠLatin capital ligature Oe
œ œ Latin small ligature oe
ᵫ Latin small ligature ue
IJ IJ Capital IJ ligature
ij ij Lowercase ij ligature
ß ß Small sharp s, German (fs/fz ligature)

Diacritics

Glyph HTML reference Name
á Lower-case "a" with acute accent
é é Lower-case "e" with acute accent
í í Lower-case "i" with acute accent
ó ó Lower-case "o" with acute accent
ú ú Lower-case "u" with acute accent
ä Lower-case "a" with diaeresis
ë ë Lower-case "e" with diaeresis
ï Lower-case "i" with diaeresis
ö Lower-case "o" with diaeresis
ü ü Lower-case "u" with diaeresis
ñ ñ Lower-case "n" with tilde
ç ç Lower-case "c" with cedilla

Numbers

Glyph HTML reference Name
+ + Plus symbol (addition)
− Minus symbol (subtraction)
× × Times symbol (multiplication)
÷ ÷ Obelus symbol (division)
± ± Plus/minus symbol
< &#60; Less-than symbol
> &#62; Greater-than symbol
&#8804; Less-than-or-equal-to symbol
&#8805; Greater-than-or-equal-to symbol
= &#60; Equal symbol
&#8800; Not-equal-to symbol
&#8776; Approximately equal-to symbol
¹ &#185; Superscript 1 (<sup>1</sup> preferable)
² &#178; Superscript 2 (<sup>2</sup> preferable)
³ &#179; Superscript 3 (<sup>3</sup> preferable)
&#8730; Square root
&#8260; Fraction slash (solidus)
&#8709; Empty set
° &#176; Degree
&#8240; Per mil
&#8470; Number symbol
&#8734; Infinity

Fractions

Glyph HTML reference Name
½ &#189; Half fraction
&#8531; One-third fraction
&#8532; Two-thirds fraction
¼ &#188; Quarter fraction
¾ &#190; Three-quarters fraction
&#8533; One-fifth fraction
&#8534; Two-fifths fraction
&#8535; Three-fifths fraction
&#8536; Four-fifths fraction
&#8537; One-sixth fraction
&#8538; Five-sixths fraction
&#8539; One-eighth fraction
&#8540; Three-eighths fraction
&#8541; Five-eighths fraction
&#8542; Seven-eighths fraction

Currency

Glyph HTML reference Name
¢ &#162; Cent
£ &#163; Pound sterling
&#8364; Euro
¥ &#165; Yen
¤ &#164; Currency

Symbols

Glyph HTML reference Name
&#8453; Care of
&#8478; Pharmaceutical
© &#169; Copyright symbol
® &#174; Registered symbol
&#8471; Sound recording copyright
&#8482; Trademark symbol
&#8480; Service mark symbol
§ &#167; Section symbol
&#8224; Dagger
&#8225; Double dagger
&#9733; Black star
&#9734; White star
&#9786; Smiley face
&#9785; Frowning face
&#9824; Filled spade suit
&#9827; Filled club suit
&#9829; Filled heart suit
&#9830; Filled diamond suit
&#8285; Tricolon
&#9776; Trigram for Heaven

Keys

Glyph HTML reference Name
&#63743; Apple
&#8984; Command
&#8679; Shift
&#8997; Option
&#8963; Control
&#8617; Return
&#9003; Delete
&#8998; Erase to the right (forward delete)
&#8593; Up arrow
&#8595; Down arrow
&#8592; Left arrow
&#8594; Right arrow
&#8670; Page up
&#8671; Page down
&#8598; North west arrow (top/home)
&#8599; North east arrow
&#8600; South east arrow (end)
&#8601; South west arrow
&#8676; Leftwards arrow to bar (tab left)
&#8677; Rightwards arrow to bar (tab right)
&#9099; Broken circle with northwest arrow (escape/esc)
&#8682; Caps lock
&#9167; Eject

Spaces

Glyph HTML reference Name
&#32; Space
&#160; Non-breaking space
&#8194; En space
&#8195; Em space
&#8196; 3-per-em space
&#8197; 4-per-em space
&#8198; 6-per-em space
&#8199; Figure space
&#8200; Punctuation space
&#8201; Thin space
&#8202; Hair space
&#8203; Zero-width space
&#8239; Narrow, non-breaking space
@starlightme
Copy link

THX!

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