Answers for "link google fonts to html"

CSS
13

add google font

CSS
@import url(https://fonts.googleapis.com/css?family=Roboto);

HTML
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto"/>

body{
  font-family: "Roboto";
}
Posted by: Guest on September-30-2020
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

how to setup google fonts in html and css

font-family: '<custom_font_you_selected>', <fallback_font>
Posted by: Guest on February-16-2021

Browse Popular Code Answers by Language