Main

 
Page #7: Manipulating Text With the <font> Tag -- Overview.

index previous page Manipulating Text With the <font> Tag.
Part 1: Overview next page

The "heading" tag is useful. But it is limited. Look back at Page Number 2. In the second paragraph, you see this: Hyper TextMarkup Language. The letters "H," "T," "M" and "L" are bigger than the other letters in the phrase "Hypertext Markup Language." To accomplish this, we use the paired <font> tag.

The paired <font> tag has three possible attributessize, color and face. These three attributes are pretty much self- explanatory

size attribute: You can increase or decrease the size of a font, and you can apply this change to just one character or a whole bunch of text.

color attribute: You can change the color of one character or a whole bunch of text.

face attribute: You can change the typeface of your text.

COMBINING attributes: You can combine attributes with the font tag so that, with one tag — and using more than one attribute, you can change the font size, color and face.

We will tackle these three attributes one at a time.