|
Specifying Fonts
Making changes in the HTML code to the Font tag
allows you to specify alternate fonts, increasing the possibility that a
browser will display your page as intended. For example, not all browsers
will be able to view your chosen font, so you are allowed to list several
fonts in order of preference. The browser will then select the first one it
is able to view correctly.
Font
Specification Examples
In the first example shown here, if the browser can't
display Times New Roman, it will try to display a font in the Times family.
If that fails, the browser will display its default font in the generic font
family of Serif.
|
Serif Example |
Result |
|
<font face="Times New Roman,
Times, serif">Eau Claire</font> |
 |
|
San Serif Examples |
Results |
|
<font face="Arial,
Helvetica, sans-serif">Eau Claire</font> |
 |
|
<font face="Verdana, Arial,
Helvetica, sans-serif">Eau Claire</font> |
 |
|
<font face="Geneva, Arial,
Helvetica, san-serif">Eau Claire</font> |
 |
|
Cursive Example |
Result |
|
<font face="Brush Script MT,
Mistral, cursive">Eau Claire</font> |
 |
|
Fantasy Example |
Result |
|
<font face="Algerian,
Western, fantasy">Eau Claire</font> |
 |
Specifying
Fonts
Making changes in the HTML code to the Font tag
allows you to specify alternate fonts, increasing the possibility that a
browser will display your page as intended.
NOTE:
Similar changes can be made when specifying fonts in
Cascading Style Sheets (CSS).
Specifying Fonts: Menu Option
-
Select the text you wish to
modify
NOTE:
If no text is selected, the change applies to subsequent text you type.
-
From the Text menu,
select Font » font choice
Your font choice is applied.
Specifying Fonts: Font Properties Pane
-
Select the text you wish to
modify
-
In the Font Properties
pane, from the Font pull-down list, select a font
combination
Your font choice is applied.
Specifying
Fonts: Code View
-
Select the text you wish to
modify
-
On the Document
toolbar, click SHOW CODE VIEW or
SHOW CODE AND DESIGN VIEWS
Your text is selected in the HTML code.
-
Within the font face
tag, specify additional fonts in order of priority
In the example shown here, three font selections have been
specified. Arial is the first selection; if that cannot be displayed,
Helvetica is the second choice; otherwise, a font in the Sans-Serif family
will be displayed.

This is what the above HTML
will produce:

Editing
the Font List
Font combinations determine
how a browser displays text in your web page. A browser uses the first font
in the combination that is installed on the user’s system; if none of the
fonts in the combination are installed, the browser displays the text
according to the user’s browser preferences.
Editing the Font List: Modifying
Font Combinations
-
From the Text menu,
select Font » Edit Font List...
The Edit Font List dialog box appears.

-
From the Font List
scroll box, select the font combination you want to modify
The fonts which make up this combination appear in the Chosen Fonts
scroll box.
-
To remove a font
from the combination:
-
From the Chosen Fonts scroll box, select the
font
-
Click REMOVE
The font is removed from the combination.
-
To add a font
to the combination:
-
From the Available Fonts scroll box, select
the font
-
Click ADD
The font is removed from the combination.
-
To move a font
combination up or down in the Font List
-
Select the font combination
-
Click MOVE UP
or MOVE DOWN

-
Click
OK
Editing the
Font List: Adding New Font Combinations
-
From the Text menu,
select Font » Edit Font List...
The Edit Font List dialog box appears.
-
From the Available Fonts
scroll box, select a font
-
Click ADD

The font appears in the Chosen Fonts scroll box.
-
Repeat steps 2 and 3 to
continue adding fonts to the font combination
NOTE: It is a good idea to
include a generic font family in the combination (appropriate to your
other font choices) in case a browser does not recognize your specified
fonts. Serif and sans-serif, as well as other generic
font choices, appear at the end of the Available Fonts list.
-
Click OK
Your new font combination is added to the Font List.
Editing the
Font List: Deleting Font Combinations
-
From the Text menu,
select Font » Edit Font List...
The Edit Font List dialog box appears.
-
From the Available Fonts
list, select a font combination
-
Click DELETE

-
Click OK
The font combination is removed from the Font List.
|