|
Welcome In HTML Course:-
Back
To Basics index
6-
Text Appearance
There are many tags that have to do with changing the appearance of text.
Here is a list of the tags, a example of what they look like, and an explanation
of what it does.
<FONT size="2" color="#FFFF00" face="arial">...</font> |
Example |
Changes the size, color, and face (font). Size can be a
number from 1 - 7 or a relative number like +1 (one size bigger than what is
already set). Color sets the color of the font using
color codes. Face is the font used. The font should be a standard font
found on most computers like Arial, Times New Roman, Helvetica, Tahoma, or
Courier. You can list different fonts for the computer to try until it finds
one that works. Example: <font face="verdana, arial black, arial"> |
<BASEFONT size="2" color="#FFFF00" face="arial"> |
- |
Sets the base (default font size, color, and face for a page). However,
often this does not work for all text on a page, for example, text in a
table (which we'll cover later). |
<BIG>...</BIG> |
Example |
Makes text big |
<SMALL>...</SMALL> |
Example |
Makes text small |
<B>...</b> |
Example |
Bold text |
<I>...</I> |
Example |
Italicized text |
<S>...</S> |
Example |
Strikethrough text |
<STRIKE>...</STRIKE> |
Example |
Strikethrough text |
<U>...</U> |
Example |
Underlined text. Warning: Underlined text is easily confused with a
link! |
<TT>...</TT> |
Example |
Teletype (or monospaced) text |
<H1>...</H1> |
Example
|
Heading #1 |
<H2>...</H2> |
Example
|
Heading #2 |
<H3>...</H3> |
Example
|
Heading #3 |
<H4>...</H4> |
Example
|
Heading #4 |
<H5>...</H5> |
Example
|
Heading #5 |
<H6>...</H6> |
Example
|
Heading #6 |
Try some of these text attributes for yourself!
NEXT: Making a
List and checking it twice.
NEXT:
Learn about
Making a List and checking it twice.
Back
To Basics index
|