Site Menu |
|
HTML Lessons |
|
HTML Forum |

|
Imp's Guestbook |
|
|
 |
  |
Headline News
You'll find up to date news on subjects such as Late Breaking, World, International Sports, Entertainment, Music, Cricket, Formula 1 Racing, Golf, Soccer, Tennis, Track & Field, Hackers News, Lawsuits, War, Australia, France, Israel, Japan, South Africa and Great Britain.
|
|
 |
|
 |
 |
 |
 |
Learning How Text Appearance Works...
|
Text appearance is maintained by using a few different tags, an example of what some of them do and look like are below, by no means do you have to use them all, but it's good to know how they work ;o).
<font size="2" color="#0000ff" face="verdana">text example</font>
Gives you this...text example
I'll explain briefly about the above command line, "size=2" This sets your text to that of size 2, any number between (1-7) can be used, or a relative number such as +1 which sets your text to one size bigger than your text that has already been set on the <Basefont> line. color="#ff0000" this sets your text color, in this example to blue, however you may use any hexadecimal code, you'll find a color chart here. face="verdana" this sets the font you wish to be used, but it's best to use a font that most computers can read such as, Verdana, Arial, Times New Roman, Helvetica or Courier, you can list all of those fonts on the <font> line like so,
<font size="2" color="#ff0000" face="Verdana,Arial, Times New Roman,Helvetica,Courier">text example</font>
Basefont this is used to set the default font size, color and face of your font for your page.
<basefont="2" color="#0000ff" face="Arial">
Other examples of tags that may change your text appearance below...
Tag | Result | <big>text example</big> | text example | <small>text example</small> | text example | <b>text example</b> | text example | <i>text example</i> | text example | <s>text example</s> | text example | <u>text example</u> | text example | <tt>text example</tt> | text example |
There are also the Heading tags, <H#></H#> which allows you to set the size of a block of text and bold it in one step. The attributes used within this are, H1, H2, H3, H4, H5, H6, H7. H1 is the largest and H7 is the smallest. Below are 2 examples of headings...
<h4>Heading 4</h4>Heading 4<h3>Heading 3</h3>Heading 3
|
|