Setting a font family


show more Setting a font family provides you with in-depth training on Web. Taught by James Williamson as part of the CSS: Core Concepts show less
please wait ...

Setting a font family

Now that we've talked about how to target content on the page and how to resolve any conflicts that might arise. I want to move on to focus on the properties that we can set for CSS rules and I want to start by focusing in this chapter on typography. Basic text formatting is a natural place to start when discussing CSS properties, because typography is such an immediate need for beginning web designers. I want to start by going over the syntax for choosing font-families. So I have the font-family.htm file open here and you can find that in 04_01 folder.

Very basic page structure. Again we have our article tag inside the body tag, inside of that we have a headline and just a couple of paragraphs. So what I want to do, is I want to go up to the body rule that's one of the places where we've been sort of setting font-families in the past and you may have remembered doing this in some of previous exercises, I'm just going to create a new property, I'm going to use the fon...

Setting a font family
Video duration: 7m 10s 8h 52m Beginner

Viewers:

Setting a font family provides you with in-depth training on Web. Taught by James Williamson as part of the CSS: Core Concepts

Subject:
Web
Software:
CSS
Author:
please wait ...