|
Font Tag Fun
First off, I need to tell you nice folks
that the font tag is not gonna be around much longer, it's
already deprecated (obsolete, dead meat) in the latest versions
of HTML and XHTML. Instead, CSS (a
style sheet) is the new standard for describing fonts. That
said, many many people still use font tags, and I'm going
to use them on this page in addition to my CSS.
The Font Tag:
<font></font>
This is it, you can add attributes and styles to this tag,
as in this example:
<font color="#FF0000"
size="2" ></font>
You only need to put the word font at the
beginning, add the styles afterwards with a space between
each. And notice the use of quotation marks, don't forget
'em!
Font attributes:
<font color="red"></font>
Color tag, can use hexidecimal or web
color.
<font size=2></font>
Can use sizes 1 to 7, or +1 to +7, or -1 to -7. The + and
- ones add or subtract to/from the default font in use. Personally,
if I was to use font sizing (which I don't because CSS does
such a smarter job...read about it), I'd use the straight
1-7 format, as the others will be affected by how your visitors
browser is setup. Here are a couple examples using the font
size attribute:
This is size 1, this
is size 5
Some Font styles:
<b></b>
Bold tag, makes stuff bold
(can also use <strong></strong>)
<i></i>
Italics tag, puts it in italics
<u></u>
Underline tag, underlines stuff
<tt></tt>
Typewriter tag, looks like a typewriter
<s></s> Strikethrough
tag, puts a line through your text (also can use <strike></strike>)
<sub></sub>
Subscript tag, lowers text and makes it smaller
<sup></sup>
Superscript tag, raises text and makes it smaller
But enough about fonts, let's
talk about inserting graphics
If you'd like us to alert you when new tutorials arrive,
join our email list (on the menu to the left)
You can email us at
Sorry, no individual questions answered,
though we may use yours as the basis for a new article.
©2007 www.WebsiteBeginner.com
|