Google Fonts

Updated: 06/16/2017 by Computer Hope

Initially launched in 2010 as Google Web Fonts, Google Fonts is a collection of interactive application programming interfaces that allow users to use web fonts on their website. This service is hosted by Google, and all of the fonts and bandwidth is free.

Note: Google Fonts are used over the Internet and are not meant to be installed or used on your computer in anything other than your Internet browser.

How to implement a Google font

Google fonts can be used on your website by adding either CSS or JavaScript into your source code. For example, to use the "Open Sans" Google font, you would add the following line into the <head> section of your HTML code.

<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>

Once this line has been added in your CSS styles, specify the "Open Sans" font in the font-family using a line similar to the example below.

font-family: 'Open Sans', sans-serif;

Related pages

Font, Google, Internet terms, Programming, Safe font