Let's talk about the font tag briefly. I'll reserve a more thorough discussion on this for the CSS lessons.
The font tag has been deprecated for the Strict versions of HTML and XHTML. It must be replaced with CSS. But we can still use the font tag on Transitional pages.Font Tag Form: <font size="?" color="?"> text </font>
For the size attribute, use a number from 1 to 7, smallest to
largest. The default is size="3".
Here is how the 7 sizes appear.
<font size="1">font size 1</font>:
font size 1
<font size="2">font size 2</font>:
font size 2
<font size="3">font size 3</font>:
font size 3
<font size="4">font size 3</font>:
font size 4
<font size="5">font size 5</font>:
font size 5
<font size="6">font size 6</font>:
font size 6
<font size="7">font size 7</font>:
font size 7
You can also use relative sizes, as in
<size="+2"> text </font>
or
<size="-1"> text </font>
This would make your text 2 sizes larger or one size smaller, respectively.
For the color attribute, use any of the 16 named colors or a hex color code.
Example <font color="red">
Here is some red text.
</font>
looks like: Here is some red text.
Example:
Sometimes I feel <font color="#6666ff">blue</font>.
looks like: Sometimes I feel blue.
There is also an effect attribute for webTV only.
Happy coding!
Gnubee