Web font
A web font is a font resource delivered through the web for rendering text in web pages or applications without requiring local installation.
CSS in Depth, Second Edition
A web font is a font made available to a web page through font resources that can be downloaded or selected locally by the browser.
- How it is used
- Uses downloadable typefaces to shape a page’s visual tone beyond commonly installed system fonts.
- How deep it goes
- Works through hosted integration, font-face definitions, and loading trade-offs; defers deeper performance treatment.
- Examples
- Shows contrasting font pairs, a Google Fonts stylesheet link, and Roboto body text paired with Sansita headings.
- What you can do after
- Apply it via Google Fonts or self-hosted `@font-face` rules while choosing variants and fallback behavior deliberately.
Web Design Playground, Second Edition
A web font is a font made available to a web page through web resources rather than requiring installation on the user's device.
- How it is used
- Uses web resources to give pages more consistent typography than system fonts can provide.
- How deep it goes
- Defines hosted font files, explains @font-face and hosting choices, and demonstrates third-party setup without detailing custom file hosting.
- Examples
- Demonstrates Google Fonts link tags and applies Lato through a CSS font-family declaration.
- What you can do after
- Apply it via Google Fonts by linking selected styles in HTML and assigning the hosted typeface in CSS.
Read how Web Design Playground, Second Edition explains web font →
Web Design Playground
A font file delivered over the web for use in rendering text on a page rather than relying only on locally installed fonts.
- How it is used
- Uses hosted font files to make page typography more consistent across visitors’ computers.
- How deep it goes
- Defines web fonts and gives a third-party setup workflow, but stops short of detailing self-hosted implementation.
- Examples
- Uses Google Fonts, Fonts.com, Adobe Typekit, Lato, generated link elements, and font-family rules.
- What you can do after
- Apply web fonts via a hosted link and a CSS font-family declaration.
Also covered in
What to know first
- font file formatA font file format is a specification for encoding and storing font data so software can render typefaces and glyphs.
- typographyTypography is the design and arrangement of written text, including typeface, size, spacing, alignment, and layout, to support readability and visual communication.
- websiteA website is a collection of related web pages and resources made accessible through the web under a common site identity or address.
Related concepts
- @font-faceuses · The CSS @font-face at-rule defines a font resource and descriptors that associate it with a font family and style.
- font-displayconfigured by · The CSS font-display descriptor controls how text is rendered while a web font loads or is unavailable.
- font-size propertyhas part · The CSS font-size property specifies the size at which an element’s text is rendered.
- font stylehas part · A font style is a stylistic variant of a typeface distinguished by properties such as weight, width, slant, or spacing.
- fonthas part · A font is a set of glyphs with a particular typeface design and rendering characteristics such as size, weight, style, or width.
- link elementused by · The HTML link element declares a relationship between a document and an external resource, such as a stylesheet or icon.
Questions about web font
What is web font?
A web font is a font resource delivered through the web for rendering text in web pages or applications without requiring local installation.
Which Manning books explain web font?
CSS in Depth, Second Edition, Web Design Playground, Second Edition and Web Design Playground.
What should I know before learning web font?
Manning books that teach web font usually introduce font file format, typography and website first.
What are the parts of web font?
Web font includes font-size property, font style and font.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.


