ArticleslgStudy

science

Web typography

Web typography is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Web typography rather than just read about it. In short: Web typography, like typography generally, is the design of pages – their layout and typeface choices. Unlike traditional print-based typography (where the page is fixed once typeset), pages intended for display on the World Wide Web have additional technical challenges and – given its ability to change the presentation dynamically – additional opportunities.

Web typography — main illustration
Web typography — illustration

Key takeaways

  • Web typography belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Web typography to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Web typography from memory before moving on to harder problems.

Reference excerpt

Web typography, like typography generally, is the design of pages – their layout and typeface choices. Unlike traditional print-based typography (where the page is fixed once typeset), pages intended for display on the World Wide Web have additional technical challenges and – given its ability to change the presentation dynamically – additional opportunities. Early web page designs were very simple due to technology limitations; modern designs use Cascading Style Sheets (CSS), JavaScript and other techniques to deliver the typographer's and the client's vision. When HTML was first created, typefaces and styles were controlled exclusively by the settings of each web browser. There was no mechanism for individual Web pages to control font display until Netscape introduced the font element in 1995, which was then standardized in the HTML 3.2 specification. However, the computer font specified by the font element had to be installed on the user's computer or a fallback font, such as a browser's default sans-serif or monospace font, would be used. The first CSS specification was published in 1996 and provided the same capabilities. The CSS2 specification was released in 1998 and attempted to improve the font selection process by adding font matching, synthesis and download. These techniques did not gain much use, and were removed in the CSS2.1 specification. However, Internet Explorer added support for the font downloading feature in version 4.0, released in 1997. Font downloading was later included in the CSS3 fonts module, and has since been implemented in Safari 3.1, Opera 10 and Mozilla Firefox 3.5. This has subsequently increased interest in Web typography, as well as the use of font downloading.

CSS1

In the first CSS specification, authors specified font characteristics via a series of properties:

font-family font-style font-variant font-weight font-size All fonts were identified solely by name. Beyond the properties mentioned above, designers had no way to style fonts, and no mechanism existed to select fonts not present on the client system.

Web-safe fonts

Web-safe fonts are computer fonts that may reasonably be expected to be present on a wide range of computer systems, and used by Web content authors to increase the likelihood that content displays in their chosen font. If a visitor to a Web site does not have the specified font, their browser tries to select a similar alternative, based on the author-specified fallback fonts and generic families or it uses font substitution defined in the visitor's operating system.

Microsoft's Core fonts for the Web

To ensure that all Web users had a basic set of fonts, Microsoft started the Core fonts for the Web initiative in 1996 (terminated in 2002). Released fonts include Arial, Courier New, Times New Roman, Comic Sans, Impact, Georgia, Trebuchet, Webdings and Verdana—under a EULA that made them freely distributable but also limited some rights to their use. Their high penetration rate has made them a staple for Web designers. However, most Linux distributions don't include these fonts by default. CSS2 attempted to increase the tools available to Web developers by adding font synthesis, improved font matching and the ability to download remote fonts. Some CSS2 font properties were removed from CSS2.1 and later included in CSS3.

Fallback fonts

The CSS specification allows for multiple fonts to be listed as fallback fonts. In CSS, the font-family property accepts a list of comma-separated font faces to use, like so:

The first font specified is the preferred font. If this font is not available, the Web browser attempts to use the next font in the list. If none of the fonts specified are found, the browser displays its default font. This same process also happens on a per-character basis if the browser tries to display a character not present in the specified font.

Generic font families To give Web designers some control over the appearance of fonts on their Web pages, even when the specified fonts are not available, the CSS specification allows the use of several generic font families. These families are designed to split fonts into several categories based on their general appearance. They are commonly specified as the last in a series of fallback fonts, as a last resort in the event that none of the fonts specified by the author are available. For several years, there were five generic families: Sans-serif

Fonts that do not have decorative markings, or serifs, on their letters. These fonts are often considered easier to read on screens. Serif

Fonts that have decorative markings, or serifs, present on their characters. These fonts are traditionally used in printed books. Monospace

Fonts in which all characters are equally wide. Cursive

Fonts that resemble cursive writing. These fonts may have a decorative appearance, but they can be difficult to read at small sizes, so they are generally used sparingly. Fantasy

Fonts that may contain symbols or other decorative properties, but still represent the specified character.

CSS fonts working draft 4 with lesser browser support As of February 2024, the CSS Working Group of W3C proposes that systems specify a default font using ui tags; as of the same date, these are not widely supported yet.

System-ui Default fonts on a given system: the purpose of this option is to allow web content to integrate with the look and feel of the native OS. ui-serif Default fonts on a given system in a serif style ui-sans-serif Default fonts on a given system in a sans-serif style ui-monospace Default fonts on a given system in a monospace style ui-rounded Default fonts on a given system in a rounded style Emoji Fonts using emoji Math Fonts for complex mathematical formula and expressions. Fangsong (Chinese: 仿宋体) Chinese typefaces that are between serif Song and cursive Kai forms. This style is often used for government documents.

Web fonts

… excerpt ends here. Continue reading the full article.

Illustrations

Web typography: Web fonts allow Web designers to use fonts that are not installed on the viewer's computer.
Web fonts allow Web designers to use fonts that are not installed on the viewer's computer.
Web typography: Since being released under Microsoft's Core fonts for the Web program, Arial, Georgia, and Verdana have become three de facto fonts of the Web.
Since being released under Microsoft's Core fonts for the Web program, Arial, Georgia, and Verdana have become three de facto fonts of the Web.

Worked examples

Example 1 — a first encounter with Web typography

Start with the simplest possible case. Write down what Web typography claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Web typography before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Web typography ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Web typography

In research
Web typography appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Web typography in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Web typography is common in secondary-school and first-year university syllabi. It links to neighbouring topics Digital typography, Web design, so understanding it makes those chapters shorter.
In everyday life
Look for Web typography outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Web typography” →

How to study Web typography in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Web typography means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Web typography out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Web typography in simple terms?

Web typography, like typography generally, is the design of pages – their layout and typeface choices. Unlike traditional print-based typography (where the page is fixed once typeset), pages intended for display on the World Wide Web have additional technical challenges and – given its ability to c…

Why does Web typography matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Web typography?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Web typography.

Tags

  • Digital typography
  • Web design

Keep exploring