As I’ve made my first steps in web design nearly 10 years ago it seams like a dream to use different fonts for websites. Ok, that’s nearly 10 years ago and nearly no section is developed that rapidly than the web. Therefore it is not surprisingly that many different solutions appear to solve that font problem. For example sIFR and Cufon, just to name two of these. Now, also Google provides a font API. The following article will throw a closer look about that solution.
First of all, where do I receive informations about the Google Font? Nothing easier than that:
The Google fonts can be used in two different ways. The either can be used with CSS or with JavaScript. In case of using CSS the required font will be included as a regular CSS file. The following example, copied from http://code.google.com/intl/en-EN/apis/webfonts/docs/getting_started.html, shows how to include Google font’s using CSS:
<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>
I guess that was easy, wasn’t it? Even though at present there are only round 20 fonts available, but I’m sure that number will rise within the next couple of month. But one advantage you even got by now. Because these fonts are provided by Google you don’t need have to aspect negative SEO effects. Your source code is still tidy and clean. But the look of your websites can be improved extremely.
no comment untill now