Web fonts
Definition
Web fonts provide fonts to websites that can be loaded when the page is accessed.
Web fonts are font files that a website uses to display its text and loads from the web if needed. CSS can include them via @font-face. This means font choice is not solely dependent on which fonts are already installed on the device.
Simply explained
The website brings its own font. If it is not yet loaded, the browser can initially display a different font.
Why it matters in practice
Web fonts enable a recognizable typographic appearance; loading behavior, licensing, and available characters must fit the website.
Example from business
Possible example: A company integrates its licensed corporate font as a web font and defines a suitable fallback font for the loading process.
Limits and pitfalls
- Large font files and many styles prolong loading. Missing characters or unsuitable fallback fonts can cause display shifts and illegible sections.
Origin & history
CSS allows embedding additional fonts with @font-face, freeing web design from relying solely on locally installed fonts.
Use in mid-sized companies
- Companies can limit required font styles, check license conditions, and test the website with slow connections and blocked font retrieval.
Frequently asked questions
Must a web font come from a third-party provider?
No. Font files can also be hosted on your own infrastructure if the license permits.
Sources
- o. J., @font-face · MDN Web Docs, o. J., @font-face
Editorially reviewed on: