DEV Community

Cover image for How to change your website's font with google fonts
acode123
acode123

Posted on

How to change your website's font with google fonts

While HTML does contain some usable fonts, some of you might want to change your font into something unique. Today, I'll be showing you how to change your website's font with google fonts.

First, visit https://fonts.google.com/ and click on a font, after that, choose a style then click select this style. When you have selected the style, something should pop up from the side, if not, click this button on the top right corner.

font selections

Copy the HTML code and put it within your HTML files head. Now, you can add the CSS font family as shown in the popup!

import info

Thanks for reading, I really hope this guide helped you through your web dev journey.

Top comments (0)