Make beautiful websites using Google Fonts

Image by Picjumbo

It’s time to leave behind the most common typefaces, and start using those that really make your web pages more attractive! You’ll be surprised how a beautiful typeface can change the overall user experience.

In this post we’ll take a look at using Google Fonts to make your website more readable and engaging. Back some time ago we had a limited number of typefaces available, but currently we can embed a wide range of fonts through HTML and CSS stylesheet.

Google Fonts offer their awesome typefaces with free license, so the only thing we have to do is to make sure we have the right to do so. Let’s follow this steps to include typefaces in your next site:

1- Explore and choose from countless of fonts that Google provides for free. When you’ve found the one that best suits you, let’s click the “Add to your collection” button.


Then, you can select which font weights you’d want to use. Typefaces provide weight that can vary from 100 (Thin) to 900 (Ultra-Bold).


2- You can add more fonts to your collection and compare them using the “Review” button. Let’s check how your chosen fonts look like in paragraphs or headlines.


3- By clicking on “Use” button, you can verify the font weights selected. 


Then, you can copy the code given by Google and embed this <link> into the <head> element of your HTML document.


Your HTML document should look like this:

<!DOCTYPE html>
<html lang="en">
    <meta charset="utf-8">
    <title>Google Font Example</title>
    <link rel="stylesheet" href="assets/stylesheets/main.css">
    <link href=',300,400,700|Oswald:400,300,700' rel='stylesheet' type='text/css'>
    <h1>Google Font Example</h1>
    <a href="#" class="btn">Home</a>
    <a href="#" class="btn">About</a>
    <a href="#" class="btn">Services</a>
    <a href="#" class="btn">Contact</a>

4- Finally, include the font name and font weight in your CSS style as follows:

  font-family: 'Lato', sans-serif;

  font-family: 'Oswald', sans-serif;

Worried about how to combine Google Fonts?


If you’d like to know about how best to combine fonts, you only have to add the typeface selected at the end of this URL:

For instance, in the previous example I wanted to combine ‘Oswald’ font, so I had a look at this URL:

Then, by clicking on ‘Pairings’ you’ll find out lovely combinations that will be useful to use in your next project!


I hope you can come across great combinations that really fit with your purpose. Let me know what combinations you feel are more inspiring!

Related Posts