Use a Custom Font from Google Fonts on a Static HTML Webpage

Share this video with your friends

Send Tweet

With a basic webpage complete, we'll add a custom font to patio11bot. First, go to https://fonts.google.com/ choose the fonts you want, and then add them to your page like this:

<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400|Work+Sans" rel="stylesheet">

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