04.06.2013 Views

Head First HTML with CSS

Head First HTML with CSS

Head First HTML with CSS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

overview of font families<br />

What is a font family anyway?<br />

You’ve already come across the font-family property, and so far you’ve<br />

always specified a value of “sans-serif ”. You can get a lot more creative than<br />

that <strong>with</strong> the font-family property, but it helps to know what a font family<br />

is first. Here’s a quick rundown...<br />

Each font-family contains a set of fonts that<br />

share common characteristics. There are five<br />

font families: sans-serif, serif, monospace,<br />

cursive, and fantasy. Each family includes a<br />

large set of fonts, so on this page you’ll see<br />

only a few examples of each.<br />

The serif family includes fonts <strong>with</strong> serifs.<br />

A lot of people associate the look of<br />

these fonts <strong>with</strong> newspaper print.<br />

344 Chapter 9<br />

Serif Family<br />

Times<br />

Times New Roman<br />

Georgia<br />

Serifs are the<br />

decorative barbs<br />

and hooks on the<br />

ends of the letters.<br />

Sans-serif Family<br />

Verdana<br />

Trebuchet MS<br />

Geneva<br />

Arial Black<br />

Arial<br />

The sans-serif family includes fonts<br />

<strong>with</strong>out serifs. These fonts are usually<br />

considered more readable on computer<br />

screens than serif fonts.<br />

Sans-serif means<br />

“<strong>with</strong>out serifs”.<br />

Fonts aren’t consistently available from<br />

one computer to another. In fact, the set of<br />

available fonts will vary depending on the<br />

operating system as well as what fonts and<br />

applications a user has installed. So keep<br />

in mind that the fonts on your machine may<br />

differ from what is available to your users.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!