Using Google Fonts in Your Webpage

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ต.ค. 2024
  • Learn how to use Google Fonts through this eleventh video of a beginner's guide to HTML and CSS!
    TRANSCRIPT:
    Here I made a very simple webpage, and the goal for today is to jazz it up with some really nice font using Google Fonts. And let’s actually go over to fonts.google.com, and pick out a font that we want. I kinda like this one, it looks like a good font to use for a minimalistic page such as this. What we can do is click on this plus sign to select it, and down here, it’ll say one family selected. So you can just copy and paste this actually, and follow the directions by copying this code into the head of your HTML document. So let’s do that, and you can just put it here, and now we have the link to our font style, which is Raleway. You can put it into your CSS by using this font-family, so now we’re gonna actually use the font that we imported into our document, and now all of the text is going to appear in the Raleway font in our webpage. So let’s save it and see how it looks. Okay, cool! That actually looks really nice compared to this. So that’s just a really simple way to use Google fonts in your webpage.

ความคิดเห็น •