Chapter 6 Formatting Text Typography

font-family sets the font family of your Web Page, font family is dependent on whats installed on Client

However with Web Fonts - WOFF you can download a specific font definition file (OTF + libz)

p { font-family: Arial, Helvetica, sans-serif; } sans-serif is the generic-family

Sans-serif is without serifs (glyphs) at the end of character - recommended for ViewGraphs and Web Pages

Newspapers use serif fonts.

New Century Schoolbook - Pay for fonts -
Fonts Usually present aka Web Safe fonts

Trebuchet, class uses opposite generic family for easy detection of missing font definition

Verdana sans-serif font for small Web text.

Courier Monospaced each letter is same WAidth (printers that lack kerning)
1234567 xxxxxxxxxx xxxx xxxxxx xx xxxx 123456

Georgia serif each letter is not same WAidth
1234567 xxxxx xxxx xxxxxx xx xxx xxxx 123456

Arial Black, Arial Narrow, Impact

Font File Types (Definition Files)

Fonts are an Intellectual Property right of the Creator

Fonts on the Web..

Using a Web Fonts

With web-fonts we often specify the default font-weight and style in the @font-face (e.g., bold blood dracula, italic, etc)

On Google when you click to use a font, you have options for various default font-variants (400 and 700 weight), Click Link for CDN link to Font - Always test, google quick methods have not always worked always.

Adding Color

font-size

font-style, font-weight, text-transform

text-shadow: horizontal-X-Across-offset vertical-Y-offset blur color;