Start learning with our library of video tutorials taught by experts. Get started

Choosing and Using Web Fonts
Illustration by

Using different fonts for different kinds of information on the page


From:

Choosing and Using Web Fonts

with Laura Franz

Video: Using different fonts for different kinds of information on the page

Another way to use two fonts on a page is to integrate them more. Instead of choosing to use one font for the headlines and another for the text, try using both fonts for text. The trick is to identify different kinds of information on the page, then use one font for one kind of information and the second font for another kind of information. We're going to do that in this lesson using PT Serif and PT Sans. The two were designed to work together so we know we've got a great pair. For the rest of this lesson, I'm going to show you how I made decisions about integrating PT Serif and PT Sans on the page.
Expand all | Collapse all
  1. 4m 41s
    1. Welcome
      1m 2s
    2. What you should know before watching this course
      1m 52s
    3. Using the exercise files
      1m 47s
  2. 14m 55s
    1. Recognizing the anatomy of letters
      4m 17s
    2. Understanding font classification
      4m 38s
    3. Finding and testing web fonts
      3m 41s
    4. Identifying common problems in fonts
      2m 19s
  3. 43m 43s
    1. Understanding Venetian fonts
      4m 0s
    2. Identifying a Venetian font
      4m 46s
    3. Understanding handwritten letters
      3m 22s
    4. Choosing a Venetian font
      3m 47s
    5. Creating a Typekit account and building a kit
      3m 43s
    6. Adding a Venetian font (Calluna) to your kit
      2m 51s
    7. Applying Calluna to your web site
      5m 54s
    8. Troubleshooting Typekit fonts that don't load
      2m 2s
    9. Changing styling as necessary to improve the readability of the text
      4m 25s
    10. Working with more than four styles in Typekit
      5m 22s
    11. Looking at how using a Venetian font affects the look and feel of a web page
      3m 31s
  4. 32m 53s
    1. Identifying an Old Style font
      6m 26s
    2. Choosing an Old Style font
      4m 30s
    3. Applying Crimson Text to a web site using Google web fonts
      3m 8s
    4. Changing styling as necessary to improve the readability of the text
      9m 20s
    5. Making various weights and styles work correctly across different browsers
      5m 16s
    6. Looking at how using an Old Style font affects the look and feel of a web page
      4m 13s
  5. 21m 12s
    1. Identifying a Transitional font
      5m 10s
    2. Choosing a Transitional font
      6m 36s
    3. Applying PT Sans to a site via Typekit
      2m 57s
    4. Changing styling as necessary to improve the readability of the text
      2m 59s
    5. Looking at how using a Transitional font affects the look and feel of a web page
      3m 30s
  6. 16m 58s
    1. Identifying a Modern font
      7m 50s
    2. Choosing a Modern font
      4m 0s
    3. Using Typekit to find and test web fonts
      5m 8s
  7. 26m 52s
    1. Identifying a Slab Serif font
      4m 30s
    2. Choosing a Slab Serif font
      3m 58s
    3. Deleting a font from your Typekit
      3m 1s
    4. Exploring a font with multiple weights and styles
      9m 41s
    5. Looking at how using a Slab Serif font affects the look and feel of a web page
      5m 42s
  8. 26m 52s
    1. Identifying "Other" Serif fonts
      5m 28s
    2. Choosing "Other" Serif fonts
      10m 12s
    3. Using a font without an italic
      7m 6s
    4. Looking at how using an "Other" Serif font affects the look and feel of a web page
      4m 6s
  9. 20m 34s
    1. Identifying a Transitional Sans Serif font
      4m 29s
    2. Choosing a Transitional Sans Serif font
      5m 14s
    3. Changing styling to improve the readability of text
      6m 31s
    4. Looking at how using a Transitional Sans Serif font affects the look and feel of a web page
      4m 20s
  10. 31m 23s
    1. Identifying a Geometric Sans Serif font
      2m 51s
    2. Choosing a Geometric Sans Serif font
      4m 33s
    3. Downloading a free font licensed for use on the web
      3m 53s
    4. Using Font Squirrel to create an @font-face kit
      5m 12s
    5. Adding the @font-face syntax to the CSS
      2m 57s
    6. Implementing the font family in the CSS
      5m 29s
    7. Changing styling as necessary to improve the readability of the text
      3m 56s
    8. Looking at how using a Geometric Sans Serif font affects the look and feel of a web page
      2m 32s
  11. 21m 3s
    1. Identifying a Humanist Sans Serif font
      4m 18s
    2. Choosing a Humanist Sans Serif font
      7m 23s
    3. Changing styling as necessary to improve the readability of the text
      5m 32s
    4. Looking at how using a Humanist Sans Serif font affects the look and feel of a web page
      3m 50s
  12. 18m 28s
    1. Understanding handwritten fonts
      3m 4s
    2. Choosing a handwritten font
      8m 17s
    3. Looking at how using a handwritten font affects the look and feel of a web page
      7m 7s
  13. 33m 2s
    1. Understanding what to look for when pairing fonts
      6m 58s
    2. Using one font for headings and another for text
      6m 6s
    3. Using different fonts for different kinds of information on the page
      8m 38s
    4. Mixing and matching fonts within text
      3m 48s
    5. Looking at how using two fonts affects the look and feel of a web page
      7m 32s
  14. 23m 34s
    1. Understanding Script fonts
      2m 19s
    2. Choosing a Script font for display use
      8m 12s
    3. Changing styling as necessary to improve the form and placement of letters on the page
      3m 33s
    4. Choosing a second font to pair with the Script Display font
      3m 42s
    5. Incorporating a second font with the Script Display font
      2m 53s
    6. Setting fallback fonts
      2m 55s
  15. 26m 38s
    1. Understanding Wood Type fonts
      3m 25s
    2. Choosing a Wood Type font for display use
      8m 35s
    3. Changing styling as necessary to improve the form and placement of letters on the page
      4m 57s
    4. Choosing a second font to pair with the Wood Type font
      2m 28s
    5. Incorporating a second font with the Wood Type display font
      4m 42s
    6. Setting fallback fonts
      2m 31s
  16. 14m 58s
    1. Choosing an Art Deco font for display use
      2m 45s
    2. Changing styling as necessary to improve the form and placement of letters on the page
      3m 51s
    3. Choosing a second font to pair with the Art Deco font
      2m 37s
    4. Incorporating a second font with the Art Deco display font
      2m 57s
    5. Setting fallback fonts
      2m 48s
  17. 27m 38s
    1. Choosing a Futuristic font for display use
      5m 33s
    2. Applying the Futuristic font and changing the styling as necessary to improve the form and placement of letters on the page
      6m 40s
    3. Choosing a second font to pair with the Futuristic font
      2m 48s
    4. Incorporating a second font with the Futuristic display font
      4m 21s
    5. Setting fallback fonts
      2m 22s
    6. Looking at the set of four ads
      5m 54s
  18. 7m 29s
    1. Exploring resources and goodbye
      7m 29s

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
please wait ...
Choosing and Using Web Fonts
6h 52m Appropriate for all Jun 27, 2012

Viewers: in countries Watching now:

This course focuses on the theories behind web fonts: what makes a good font, why different fonts look the way they do, and how fonts affect the look of a web page. Author Laura Franz covers common tasks, including downloading a font from an online source such as Typekit or Font Squirrel, implementing the font in HTML and CSS, and changing the size and line-height to improve the readability of text. The course also covers different periods of type design and explores the history behind handwritten fonts, text fonts (used for large amounts of text), and display fonts (used for headlines).

Topics include:
  • Explaining the history of text fonts, from Old Style, Transitional, and Modern to Slab Serif and Sans Serif
  • Understanding font classifications
  • Setting up a Typekit account
  • Choosing a quality font based on forms, spacing, and weights and styles
  • Accessing fonts from various sources
  • Implementing fonts with the @font-face syntax
  • Looking at how fonts affect the look and feel of a web page
  • Changing font styling to improve readability
  • Making various font weights and styles work correctly across multiple browsers
  • Pairing fonts (headline and text, two fonts in text, and so on)
  • Setting fallback fonts
Subjects:
Design Typography Web Web Design Web Fonts
Author:
Laura Franz

Using different fonts for different kinds of information on the page

Another way to use two fonts on a page is to integrate them more. Instead of choosing to use one font for the headlines and another for the text, try using both fonts for text. The trick is to identify different kinds of information on the page, then use one font for one kind of information and the second font for another kind of information. We're going to do that in this lesson using PT Serif and PT Sans. The two were designed to work together so we know we've got a great pair. For the rest of this lesson, I'm going to show you how I made decisions about integrating PT Serif and PT Sans on the page.

If you'd like, you can sit back and watch. If you want to follow along in the CSS, you can. I've made a copy of the PT Serif file we've made earlier in the course and I've named it pt_serif_sans_tk_site.html. It's available in the Exercise Files for this lesson. Open that up in your text editor. I want to show you the changes that I make along the way. You'll notice I've already included the PT Serif and PT Sans fonts, but I want to point out that this Typekit code won't work for your file.

This embed code is from my Typekit account and works on my server. So you need to put PT Serif and PT Sans in your Typekit, publish it, copy and paste your embed code into this HTML document and upload it to your server. When you're all done, meet me back here. Now that your Typekit is all set, let's scroll down and take a look at this document. The PT Serif is in the universal selector which isn't surprising because we used the original PT Serif file for this file.

I've only added PT Sans all the way down at the end to an a so all of my links will be in PT Sans. Let's take a look at that in the browser. So we can see in the browser that everything is PT Serif except for the links are Sans. I did this because when I looked at this page, I thought the links are very business-like and official. They are for things like paying your taxes online and reporting a pothole. So I thought the Sans Serif font could work better there, whereas the articles are a little bit more human interest where one could go and have a nice dinner perhaps.

So I thought the Serif font would work better with the text in the articles. But there's a slight problem, since everything is Serif in this area of the page and only the links are Sans, the two don't feel integrated. It feels more like we were doing in the last lesson using one font for one purpose and another font for the other purpose and they're not integrated. The only place they start to feel integrated is here where we have a Serif heading with Sans Serif links, and I'd like to create more of that integration.

So I made a copy of this file and let me show you what I did. In the CSS, I made the h4 a PT Sans and then I also specified that any of the P-tags used in the news container, which is our right-hand container, should be PT Sans, and then I also set that any of the line items in that news container should also be PT Sans, and I made sure the acronym are PT Sans. So I'm bringing some more PT Sans into the file.

I did this because I wanted to bring that Sans Serif into the page more, but I really wanted to keep the text in these articles as the Serif because, again, those are our human interest stories. Now looking at this, there is one slight problem and I think it's just that here, the heading looks very nice with these events here, but the heading, the h4 is looking a little bit small compared to the Serif. I think our Sans Serif has a tiny bit smaller x-height than our Serif does. So our Sans Serif is looking a little small.

So I want to bump those up. Now these are on h4, but I don't want to bump up both h4's, only the one here. So let me show you what I did. In the next version, I said that any of the h4s in my content container, which is my middle column, should be a little bit bigger. You can see here there is 17 pixel on 17 instead of 16 on 16. Let's take a look at how that worked out in version 3 here. That works much better. Now this heading is a little bit larger and it works better with this Serif font and this one is a little bit smaller and works better with the Sans Serif font.

Now usually when I work in print, I try to find a perfect size for the headings that would be our h4 headings here and use it everywhere on the page. But unfortunately, when we're working on the Web, we can't use half pixels. I couldn't find a perfect middle size for those. So we're using two slightly different sizes and that's okay. It's much more important that we keep the hierarchy of the page and we help people read the page than it is to follow a rule. One other thing here, we've started integrating the type but I think we could integrate it a little bit more.

What I'd like to do is bring in a little bit more Serif over into this right-hand column, I think a great place to do it would be here, in the quote because while the quote is a slightly different kind of information than the other text in that column and so it won't feel out of place if it's set differently from the rest of the text in the right-hand column. So we're going to go and make that Serif and then up here, in our main heading, it's all Serif. I'm thinking, well, why can't I bring some Sans Serif in there as well? So I'm going to bring in a Sans Serif for Welcome to.

I'm interested in doing that. I think the Sans Serif will hold up really nicely at that small size and I enjoy the Serif font large. So I've decided to do it that way but if you'd prefer to do the small type in Serif and the large type in Sans Serif that would work fine as well. So let's take a look at the next CSS file that I had created. You can see that I've changed the Welcome to PT Sans and I've kept it at the same size. And down here, I changed the quote to PT Serif. So let's take a look at how that works.

Now we're in the fourth version of this file and that's looking much better. We're really starting to see here we have Serif, Sans Serif, Serif, Sans Serif, Serif. So these fonts are really integrated along the right-hand column and it's a nice, lovely integration up here at the top as well. I'm only noticing one last thing and this is related to how information is chunked. I feel like these lines here; the Date, Time and Place feel a little bit loose. I'd like them to feel a little bit more cohesive. So let's go and take a look at the last thing I did in our CSS.

For that right-hand column, the news container for both the P element, I changed the line height to 21 pixels and I did the same in the line item element in that same container. Let's take a look at that. That's much nicer. Comparing it back to the original version, when only the links were Sans Serif, let's take a look at that, the page just feels a little flatter. I think having two fonts helps slightly differentiate the different kinds of information and it gives the page a subtle depth. And here, let's take a look at what I mean.

If we pay attention to the Save the Date area, where we go from Serif to Sans Serif in two different weights to a Serif, keep your eye on that while I pop back over to our original version, and you can just see there's a nice subtle depth, just sort of layers of information there. Integrating fonts this way has its own challenges. It would be easy for this page to get chaotic and each font has four weights and styles so we have eight to work with. I was careful to use a system; the h1, h2, and h3 are all set in the PT Serif and the h4 is a PT Sans Serif Bold.

I made one slight change to the h4; it's a little bit bigger in my center column. But otherwise, they are the same. Plus, all the text in the center column is Serif while all the text in the right-hand column, except the quote, is Sans Serif. I've provided a final version of this page in the Exercise Files, so you can see the final CSS styling if you'd like. When you're mixing and matching fonts, try doing so with a thoughtful system. If you find a page you're working on is getting too complex, try backing up and getting the page to work in just one font.

Then you can add the second font in, like we did in this lesson, adding the PT Sans to the existing PT Serif page.

There are currently no FAQs about Choosing and Using Web Fonts.

 
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

join now Upgrade now

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Choosing and Using Web Fonts.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Notes cannot be added for locked videos.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.