|
June 15, 2003 By now, your page is probably full of words and links to all of your favorite pages, but it is still missing a very important factor. Ah yes, COLOR!!!! Color is very important to any page, whether it be the background or the font. Your page is probably very black and white, except for the links (blue). This lesson, you will completely change that. By the way, all of the code should be in the brackets <>, but I will not be puting them with the code. Background
For a background color, you need to know the code of that
color. The color codes are always six characters long, only
letters and numbers. A great site to get color codes is:
body bgcolor="#0000ff" Remember that the numbers are in quotations. The number sign in front of the numbers is not really necessary, I usually do not use it, but it is probably a good idea to put it in anyways, then you can decide whether or not you would like to further the number sign's 'career'. Next is if you would like an IMAGE as a background. A good tip, though, is to also use a body bgcolor (background color) in case the image does not work, you still have a color close to what you would like. The code is the following: body background="image.jpg (or gif)" Very easy, and also simple enough to remember. Now, you can have a background color and/or a background image. You are moving ahead so quickly! But this exciting lesson for today isn't over yet. Font Font. You have all this font you have typed and you just don't like the times new roman in black as you thought you would. Well, then it is time for a change! Let's say you would like to have this font by in the color yellow, which does go very well with blue, in my opinion. The code would be the following: font color="ffff00" Simple, simple, simple. Font color, the code couldn't really get any easier than that. But now, let's say you would like something else than that Times New Roman. This is a little more difficult to remember, but trust me, just as easy to do. Let's say you would like the font Arial (which still isn't that exciting). The code would be: font face="arial" I would say that that is sure easy. Yes, the face is a little complicated to remember, but I believe in you. BUT REMEMBER THIS: If you capitalize the font and make it Arial, it will NOT work. I found that out the hard way.
So so so easy. You now have a colorful and exciting page.
You are doing so well. Hey, if you would like to email me
your URL, I would be more than happy to visit it, at least
once. Again, if you have problems, email me. Hopefully
next time we will go on to images. Farewell, and good
HTMLing.
|
||||||
|
|
|||||||
|