Because of HTML??™s unique way of handling fonts, Dreamweaver uses a special method for choosing
font names for a range of selected text. Before you learn how to change a typeface in Dreamweaver, you
should more fully examine how fonts in HTML work.
About HTML fonts
Page layout designers can incorporate as many different fonts as available to their own systems. Web layout
designers, on the other hand, can use only those fonts on their viewers??™ systems. If you designate a paragraph
to be in Bodoni Bold Condensed, for instance, and put it on the Web, the paragraph is displayed with
that font only if that exact font is on the user??™s system. Otherwise, the browser uses the default system font,
which is often Times or Times New Roman.
Fonts are specified with the
tag, aided by the face attribute. Because a designer can never be certain
which fonts are on visitors??™ computers, HTML enables you to offer a number of options to the browser,
as follows:
Swiss Maid Foundry
The browser encountering the preceding tag first looks for the Arial font to render the enclosed text. If Arial
isn??™t there, the browser looks for the next font in the list, which in this case is Helvetica. If it fails to find any
of the specified fonts listed, the browser uses whichever font has been assigned to the category for the font??”
sans serif in this case.
Pages:
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609