|
The <BODY> tags hold the bulk of your page between them. Everything that is visible on the actual page will come between the <BODY> and </BODY> tags. There are several other types of tags that can be used here, but I am only going to be covering a few of them - specifically the ones I used on my hangel2.html page. For the purposes of each example shown below, they are shown separately, each with its own <BODY> tag. However, you only want to have one <BODY> tag on each page, or it confuses the browser, and chances are that none of your specifications will show up correctly.
- BGCOLOR
This designates a solid color background for the page. It can either be used alone, or in conjunction with a background image. If it's used with an image, the solid color loads first, and the viewer sees that while the background image is being loaded. It is part of the <BODY> tag, and would look like this <BODY BGCOLOR="#FFFFFF"> for a solid white background.
- BACKGROUND
The BACKGROUND attribute designates an image to be loaded as the background of the page, and the code would appear something like this: <BODY BACKGROUND="border.jpg">.
- TEXT
The TEXT attribute sets the color for the text of the entire page - that is unless you change it at some other point. I generally use black text, which would look like this: <BODY TEXT="#000000">. If your background is dark, you can use a lighter color of text, but make sure you look at it to see if it is readable. A lot of times, the lighter text on a dark background is hard to read, and sometimes it can be blinding, depending on what color combinations are used. Keep in mind that if people can't easily read your page, they probably won't stick around long. :-)
- LINK, ALINK, and VLINK
These three attributes are used to designate the color of links, active links, and visited links on your page. The link color is just what someone sees when you have a link somewhere on your page. The active link is the color it turns when it's clicked, and the visited link color is the color of links a person has already followed. It's generally a good idea to choose colors that compliment the colors that are already on your page, but at the same time you want them to be visible and not hidden.
Some tags that can appear between the <BODY> and </BODY> tags are the <P> and <B> tags. The <P> tag is used to designate a paragraph. By using this for paragraphs, it automatically blocks the text all together and creates a space after the paragraph, similar to a line break. The <B> tag is used to make text bold. You can either use the tags around just one word like <B>this</B>, or you can do a whole paragraph in bold. You can even do an entire page in bold if you're just trying to make all of the text stand out from the background.
|