The next command that we will explore is the Body command. This command tells the browser where the body of the HTML document begins and ends. Most of the time the body of the document is anything that you see in the window of the web browser. The body command can contain several modifiers which will change items such as background color, text color, background images, and link color.
When selecting a certain set of colors for use in you web page make sure that they do not conflict with each other. For example, I have stumbled upon web pages that have light green text and plain gray background. This combination of colors makes the page very difficult to view and could turn people away from your web page.
On my web page I use a white background, I actually have an image for a background but that will be discussed later, with blue text. I decided not to include any special color for links so they will be blue as well. In order to tell the browser that I want this done the command in my script must begin with an angle bracket “<“. After the angle bracket I will need to insert the word BODY. After the word BODY I then enter my list of preferences. The first preference I want to input is the background color. My background is going to be white. This is distinguished by the letters FFFFFF (For a list of all colors and the letters that represent them, see the appendix). I will insert the modifier BGCOLOR=”FFFFFF”. That is all I need to do to change the color. But I am not done, I want the text of my document to be blue. This is distinguished by the code 0000FF. I will insert the modifier TEXT=”0000FF”. If I wanted to specify red for the visited link, so that if a person has already gone here they will know it, I would insert the command VLINK=”FF0000”. And if I wanted the links to be a different color from the text, let’s say black, I would insert the command LINK=”000000”. Then I must end this list with another angle bracket “>”. At the bottom of the body I will have to insert a command telling browser that I am done with the body. That command would be an angle bracket “<“ followed by a slash “/” followed by the word BODY followed by an angle bracket “>”. Here is what the final source of my web page would look like: