Everyone tries to use the better font on their own website when they develop their site and google provide us tremendous font which can be applied to the site. So my topic is how to use those awesome fonts on your site. If you want to do this then please follow my step.
Step 1:
First, of all, you have to choose the appropriate font for your site. So visit this link https://fonts.google.com/ .
Step 2:
Now suppose, I have chosen the first font name Roboto. Then open up the family selected popup and here you get the link to this particular font and attach it to your site inside the head tag. You can customize also that font from the customize option. Here you can get different font-weight and add it to your site.
<head>
<link href=”https://fonts.googleapis.com/css?family=Roboto” rel=”stylesheet”>
</head>
<body>
</body>
</html>
Step 3:
Now coppy the css and use it where you want. If you want to add it in your whole site then add it to the body like this.
body{
font-family: ‘Roboto’, sans-serif;
}
</style>