SHARE
Facebook X Pinterest WhatsApp

Yet Another Google Announcement: Google Font API and Directory

May 22, 2010

Google made yet another announcement at its Google I/O 2010 conference, announcing the Google Font API and Google Font Directory. The Font Directory will initially include 19 licensed fonts such as serif, san-serif, script and fixed-width and the Font API can be utilized by websites using HTML or JavaScript.


By using a single line of code, web developers will be able to use the Font Library’s fonts without the font needing to be installed on their visitors’ computer or mobile device. Before the Font API and Library, companies such as TypeKit and Kernest provides fonts as services.


Using a font on a web page is easy–developers add a special stylesheet link to their web page and then use the font in a CSS style, like this:

<html>
  <head>
    <link rel=”stylesheet” type=”text/css” href=”http://fonts.googleapis.com/css?family=Tangerine”>
    <style>
      body {
        font-family: ‘Tangerine’, serif;
        font-size: 48px;
      }
    </style>
  </head>
  <body>
    <h1>Making the Web Beautiful!</h1>
  </body>
</html>

For more information, check out the Getting Started guide for Google Font API.

Recommended for you...

Web 3.0 and the Future Of Web Development
Rob Gravelle
Jun 23, 2022
CodeGuru and VBForums Developer Forums and Community
James Payne
Apr 7, 2022
Understanding CSS Template Layout
Vipul Patel
Mar 29, 2022
Criminals Pay More for Code Signing Certificates Than for Guns or Passports
HTML Goodies Logo

The original home of HTML tutorials. HTMLGoodies is a website dedicated to publishing tutorials that cover every aspect of being a web developer. We cover programming and web development tutorials on languages and technologies such as HTML, JavaScript, and CSS. In addition, our articles cover web frameworks like Angular and React.JS, as well as popular Content Management Systems (CMS) that include WordPress, Drupal, and Joomla. Website development platforms like Shopify, Squarespace, and Wix are also featured. Topics related to solid web design and Internet Marketing also find a home on HTMLGoodies, as we discuss UX/UI Design, Search Engine Optimization (SEO), and web dev best practices.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.