Answers for "how to set google font on html"

6

add google font html

<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Code+Pro"> [Replace your font with the Source Code Pro font.]
Posted by: Guest on March-24-2021
0

a sample code with google fonts in html

<head>
    <link rel="stylesheet"
          href="https://fonts.googleapis.com/css?family=Tangerine">
    <style>
      body {
        font-family: 'Tangerine', serif;
        font-size: 48px;
      }
    </style>
  </head>
  <body>
    <div>Making the Web Beautiful!</div>
  </body>
</html>
Posted by: Guest on August-15-2021
1

use google font in html

body {
    font-family: '*Insert google font';font-size: 22px;
}
Posted by: Guest on March-02-2020

Browse Popular Code Answers by Language