DEFAULT SETTINGS with BODY

Default setting are including in the BODY statement and can include background color done with BGCOLOR and text color done with TEXT. You can also change the color of links - LINK changes the color of the link, VLINK changes the color of the visited links - ALINK changes the color of the active link. We will see more on these when we have looked at links more.

COLOR

Let's talk about color - there is 6 digit hexadecimal code that is used to express color. Remember hex is the numbering system that goes from 0 to F. The first two digits stand for red, the next two green and the last two blue. of red, yellow, and blue.
THIS IS RED THIS IS GREEN THIS IS BLUE THIS IS WHITE THIS IS BLACK Mixing and matching these results in different colors. For example if I lower the amount of red, but still use no green or blue, I get this:
THIS IS REDish
If I lower the amount of blue, but still use no red or green, I get this:
THIS IS BLUEish
Play with the combinations and see what you get!

Other things you can do with FONT include SIZE and FACE (which means font type).
FONT 2, 99AA00, HELV
FONT 3, 99AA00, TIMES
FONT 4, 99AA00, BOOK ANTIQUA

Now lets look at Horizontal lines


It is interesting - like the BR for break, the horizontal line does not have a closing /HR. Note that even though it is not always used, the P for paragraph does have a closing /P.
If I don't want the line to go all the way across the page, I can do a width on my horizontal line. And if I want it to be wider I can change the thickness by using the SIZE clause. To make the size a solid line, I also need the noshade clause. Notice that the line is centered. However to be safe in a variety of browsers, it is probably better to use ALIGN=CENTER.
If I want the line to start at the LEFT, I need to align it to the left.
If I want the line to always go across 25% of the screen without worrying about the number of characters, I can use percent to set the width.