Tip 25Working with Fonts

Typography is important to user experience. The book you’re reading right now has fonts that were carefully selected by people who understand how the right fonts and the right spacing can make it much easier for readers. These concepts are just as important to understand on the Web.

The fonts we choose for conveying our message to our readers impact how our readers interpret that message. Here’s a font that’s perfectly appropriate for a loud heavy-metal band:

images/css3eyecandy/metalband.png

But that might not work out so well for the cover of this book:

As you can see, choosing a font that matches your message is really important. The problem with fonts ...

Get HTML5 and CSS3, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.