February 2006
Beginner
416 pages
11h 35m
English
Within the tag:
<tag style="font-family: font1, font2, font3">text</tag>
where tag is any tag and font1, font2, and font3 are different fonts. (font2 and font3 are optional.) For example:
<p style="font-family: helvetica, arial">Now available!</p>
In a style sheet:
tag {font-family: "font1", "font2", "font3"}
where tag is any tag and font1, font2, and font3 are different fonts. (font2 and font3 are optional.) For example:
p {font-family: helvetica, arial}Specifying a Font Size and Color
Within the tag:
<tag style="font-size: npx">text</tag>
where n is a number of pixels, such as 10.
Other acceptable units of measure are in (inches), cm (centimeters), ...
Read now
Unlock full access