Google Fonts API

The Google Font Directory

The Google Font Directory lets you browse all the fonts available via the http://code.google.com/webfonts. All fonts in the directory are available for use on your website under an open source license and served by Google servers.

Font previewer

http://code.google.com/webfonts/preview



For example, to request the Inconsolata font:
http://fonts.googleapis.com/css?family=Inconsolata
For example, to request the fonts Tangerine, Inconsolata, and Droid Sans:
http://fonts.googleapis.com/css?family=Tangerine|Inconsolata|Droid+Sans
Requesting multiple fonts:
http://fonts.googleapis.com/css?family=Tangerine|Cantarell:i /* b - i - bi */

Example

<link rel='stylesheet' type='text/css' href='http://fonts.googleapis.com/css?family=Tangerine|Cantarell:i'>

<style>
#box1 {
font-family: 'Tangerine', serif;
font-size: 48px;
}

#box2 {
font-family: 'Cantarell', serif;
font-size: 48px;
}
</style>

<br />
<div id='box1'>Tangerine</div>
<div id='box2'>Cantarell:i</div>

Related Posts

Google Chart Tools, Load ajax with google MooTools