liveBook · Manning

Google Fonts

As explained in A Pythonic Adventure: From Python basics to a working web app

Google Fonts is an online catalog and delivery service for fonts that can be used in websites and applications.

Google Fonts provides a large collection of free web fonts for making a website feel more distinctive. Browse fonts at fonts.google.com, preview page text, and filter choices by categories such as Serif, Sans Serif, Display, Handwriting, and Monospace. section 13.0

A simple workflow applies a selected font to a website:

  • Choose and preview a font, such as Playfair Display. section 13.0

Coffee shop heading

A coffee shop can load Playfair Display in templates/base.html, then style its heading with h1 {font-family: 'Playfair Display', serif;}.

How A Pythonic Adventure: From Python basics to a working web app covers it

How deep it goes
Demonstrates browsing, selecting, linking, and applying a font, without developing programmatic API access.
Examples
Uses fonts.google.com, Playfair Display, category filters, and a coffee shop heading.
What you can do after
Apply it via HTML and CSS to load a selected Google Font and style headings.
How it connects
Connects HTML, CSS, web fonts, typography, and font categories.

Also explained in

Compare how 4 books explain Google Fonts →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of A Pythonic Adventure: From Python basics to a working web app. The section links point to the parts of the book it draws on.