Type: HTML
Change Text Size
| You control the look of particular sections of type on your web page with the <FONT></FONT> tag pair and its attributes. | ||
| Type Size | In HTML type sizes range from 1 (smallest)
to 7 (largest).
The default type size (basefont) is 3; it roughly corresponds to 10 point type. Often the navigation bar and address footer will use a smaller font. |
|
| To change the size of type on an entire
page add the BASEFONT attribute to the opening <BODY> tag.
<BASEFONT SIZE=n> where n is a number from 1 to 7. <BASEFONT> requires no closing tag. |
||
| To change the size of a selected passage
of type, use
<FONT SIZE=n>text, text </FONT> where n is a number from 1 to 7. |
||
| To change the size of type relative to
the base font:
<FONT SIZE="+n">text, text</FONT> where n is a number from 1 to 7. |
||
| As an alternate to using the <Hn></Hn>tags
for a headline, you might want to create small caps:
GOOD MORNING. The HTML code for the above greeting is: |
||
| <FONT SIZE=5>G</FONT><FONT SIZE=2>OOD</FONT><FONT SIZE=5>M</FONT><FONT SIZE=2>ORNING</FONT> | ||
Type: HTML
Key Concepts
Change Text Font
Change Text Size
Change Text Color
Web Design Center
Last Revised:
March 12, 2004
© Agatha Taormina