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 the fonts and bandwidth is free.
How to implement a Google font
Google fonts can be used on your website by adding CSS or JavaScript into your source code. For example, to use the “Open Sans” Google font, you would add the following line into the
section of your HTML code.Google Fonts are used over the Internet and are not meant to be installed locally. They only work in your browser.
Once this line is 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;
Font, Google, Internet terms, Programming, Safe font
When using any font not included in a browser, the visitor must download the font to view your web page. Like all other downloads, adding a font increases the web page’s load time.
Related information
- How to install fonts on my computer.
- The Google Fonts website.