Web Typography

The typographic quality of a document is largely determined by how the body text looks. Keep the following points in mind for a better body text.

  • Point size. 15-25 pixels.+
  • Line spacing. line-height: 1.5. 120-145% of the point size.
  • Line length. p { max-width: 66ch; } ideal. 45 to 85 characters is good.
  • System Fonts. Avoid using Times New Roman, and Arial.
  • Monospaced Fonts. Only use them for code.
  • Serif fonts. Only on higher resolution screens.
  • Word spaces. Never use them for styling. Use   for acronyms.
  • Underlining. Don’t use it unless it’s a hyperlink.
  • Bold and Italics. Use as little as possible.
  • Small caps. Only if actually available. Use an extra 5-12% of letter spacing.
  • First-line indents or paragraph spaces, never both.
  • Fist-line indent. 1-4x the text point size.
  • Paragraph space. 4-10 points of space between paragraphs.
  • Use hyphenation in justified text
  • Use curly quotes.

Note +: WebAIM defines large font as ~18.66px (14 point), but says, implying context, that ~24px (18 point), and larger are ok.

Typographic Elements

M- = Option + <key>

Character OS X HTML
' '
" "
M-] &lsquo;
M-} &rsquo;
M-[ &ldquo;
M-{ &rdquo;
M-- &ndash;
M-_ &mdash;
M-; &hellip;
& & &amp;
© M-g &copy;
¢ M-4 &cent;
£ M-3 &pound;
M-@ &euro;

Resources

For more elements check out: