How do I use Google Fonts in a HTML page

前端 未结 2 1141
误落风尘
误落风尘 2021-01-13 13:35

I have seen people use Google Fonts within their websites. How do I use Google Fonts within my website? I am using normal fonts such as Arial and Verdana but i want to use S

相关标签:
2条回答
  • 2021-01-13 14:34

    1)go to https://www.google.com/fonts#

    2) search the font names in the box on top left corner

    3) click on add to collection

    4) click use

    5) select the font weights

    6) copy the link tag populated below that and insert it into the <head> section of your website

    Hope this helps

    Take care and happy coding

    0 讨论(0)
  • 2021-01-13 14:39

    Visit Google Fonts, choose the fonts you want and add the CSS or JavaScript code within your website (depending on what you choose).

    0 讨论(0)
提交回复
热议问题