google font import
snippet in html

add google font


@import url(;

<link rel="stylesheet" href=""/>

  font-family: "Roboto";

how to import google font


<!-- To Add Montserrat font or any font as such -->
<!-- Go to browse the font you like here, Montserrat-->
<!-- On the right click embbed and get the link similar to one given below-->
<link href="" rel="stylesheet">
<!-- add this ^ link inside your <head> tag i.e. before </head> -->
<!-- In css you can specify the font family as -->
font-family: "Montserrat", sans-serif;

google fonts css


Check out the font names and change 'finger paint' to another font name to how different google font appears on webpage.
<!DOCTYPE html>
<link href=' Paint' rel='stylesheet'>
body {
    font-family: 'Finger Paint';font-size: 22px;

<h1>Finger Paint</h1>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</p>


google font import


<!-- To import google font add this to the head of your HTML then you can use use the imported font family in your CSS file -->

<link rel="preconnect" href="">
<link href="" rel="stylesheet">