liveBook · Manning

Font style

As explained in Design for Developers

A font style is a variation of a typeface that changes its visual treatment, such as upright or italic presentation.

A font style is a visual variation within a typeface family. Styles range from italic and oblique forms to thin, regular, and bold weights, helping typography emphasize words and establish hierarchy. section 8.1 section 8.1.3

Choose a font style according to both visual intent and semantic meaning:

  • Use italic when its cursive letterforms support the desired emphasis or presentation. section 8.1.3
  • Use oblique when a typeface should be slanted without changing the underlying letter design. section 8.1.3
  • Use <em> for emphasized meaning, <i> for an alternate voice or distinct text, and a CSS class for purely visual italics. section 8.1.3
  • Use contrasting weights and styles to separate headings from body copy, while keeping similar pages visually consistent through a type ramp. section 8.2.2 section 8.2.3

Contrasting styles in a web interface

A heading in extra-bold 800 paired with body text in regular 400 creates clearer hierarchy than two nearly identical weights. A page can then reserve italic or oblique styling for emphasis or an alternate voice. section 8.2.2 section 8.1.3

Figure 8.10 Italics aren’t just slanted; they have design elements added that make the slant feel more cursive and natural.

Compare true italics with oblique styling: italics add design changes that make the slant feel more cursive, while oblique simply slants the original forms. section 8.1.3

How Design for Developers covers it

How deep it goes
Distinguishes italic from oblique, maps styles to HTML and CSS choices, lists weight scales, and connects styles to type ramps.
Examples
Uses italic-versus-oblique comparisons, Roboto pairings, Fira Sans weights, and browser heading defaults as concrete typography examples.
What you can do after
Apply font styles through semantic HTML and CSS, then choose contrasting weights and styles for clearer typographic hierarchy.
How it connects
Connects font style with typeface families, font weights, semantic HTML, CSS, type pairing, hierarchy, and type ramps.

Also explained in

Compare how 2 books explain font style →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Design for Developers. The section links point to the parts of the book it draws on.