It has often been said that typography is 95% of web design. While this may be a slight exaggeration, the point stands: text is the primary medium through which websites communicate, and how that text looks and behaves has an enormous impact on user experience, brand perception, and conversion rates. Typography in web design encompasses typeface selection, font sizing, line height, letter spacing, colour, and hierarchy — all working together to make content legible, attractive, and purposeful.
The distinction between typeface and font is worth clarifying. A typeface is a type family — the overall design of the letterforms. A font is a specific variation within that family — a particular weight, width, and style. When designers talk about choosing fonts, they usually mean choosing typefaces and then selecting appropriate weights and styles within those families for different applications and contexts.
Serif typefaces — those with small decorative strokes at the ends of letters — feel classic, authoritative, and trustworthy. Sans-serif typefaces, lacking those decorative strokes, feel modern, clean, and minimal. On screens, sans-serif fonts generally offer better readability at smaller sizes, which is why they dominate body text on websites. Serif fonts work well for large display text where their character and authority can be appreciated fully.
Font pairing — combining two or more typefaces — is one of the most nuanced skills in typography. A common and effective approach pairs a distinctive serif typeface for headings with a clean sans-serif for body text. This creates visual interest through contrast while maintaining readability. The key principle in font pairing is finding harmony with contrast: the typefaces should feel complementary rather than competitive or identical in character.
Typographic hierarchy is the system of visual organisation that guides the reader's eye through content in order of importance. A clear hierarchy involves: a large, bold headline that states the main topic; subheadings that organise sections; body text that delivers the detail; and captions or labels in smaller, lighter text. When hierarchy is established clearly and consistently, users can scan content efficiently and find what they need without difficulty.
Font size has a profound effect on readability and perceived professionalism. Modern web design typically uses 16-18px for body text on desktop. Headlines benefit from dramatic size differences — an H1 that is only slightly larger than body text fails to create the visual impact and hierarchy that effective typography requires. Using relative units (rem, em) rather than fixed pixels for font sizes respects user browser preferences and aids accessibility.
Line height — the vertical space between lines of text — is arguably the most overlooked typographic setting in web design. Lines set too tightly are fatiguing to read; lines too far apart lose cohesion. A line height of 1.5-1.7 times the font size is generally ideal for body text. For headings, tighter line heights of 1.1-1.3 typically look better, preventing large gaps that fragment the visual unity of multi-line headings.
Web-safe fonts versus custom fonts is an important technical consideration. Web-safe fonts are pre-installed on most devices and load instantaneously. Custom fonts — from Google Fonts or Adobe Fonts — offer far more personality and brand alignment but add a small loading overhead. This overhead can be minimised through subsetting, preloading font files, and using font-display:swap to prevent invisible text during loading.
Accessible typography is an ethical and legal obligation. Minimum contrast ratios between text and background colours are specified in WCAG 2.1. Font sizes should be specified in relative units so users who have increased their browser's default text size see their preference respected. Line lengths should ideally be kept to 60-80 characters for optimal readability, avoiding very narrow columns or excessively wide measures that make tracking across lines difficult.
The best typography goes unnoticed. When type is set beautifully, readers focus entirely on the content — they do not think about the font, the spacing, or the hierarchy. This is the defining paradox of great typographic design: its success is measured by its invisibility. The goal is always to serve the words and the reader, using craft and care to create an experience that is effortless, engaging, and entirely in service of communication.
Ready to elevate your digital presence?
Acorn Web Studio specialises in web design, WordPress development, SEO, and digital marketing. Get in touch for a free consultation.