WEB administration
There are several resources available on the Internet
that chart colors and their hexadecimal values. If you require more
information about color values, there is an excellent site entitled
"VGDesign’s Interactive Color Cube" that displays
the background color code when you put your cursor over a small
color sample. The web address is:
http://www.vgdesign.com/color.html
The BODY Element
The BODY Element of a web page is an important element
in regards to the page’s appearance. This element contains
information about the page’s background color, the background
image, as well as the text and link colors.
If the BODY Element is left blank, web browsers will
revert to their default colors. In older browsers, if the BODY element
is left blank, the page’s background color will be a light
gray. The newer browsers, IE 4+ and Netscape 4+, default to using
the client’s Windows colors settings.
It is very common to see web pages with their background color set
to white or some other color. To set your document’s background
color, you need to edit the <BODY> element by adding the BGCOLOR
attribute.
Task 1a
Include a hexadecimal bgcolor attribute into “index.html”
web page
<body bgcolor="#999999">
File and save, then preview in browser “ie”.
TEXT Color
The TEXT attribute is used to control the color of
all the normal text in the document. This will affect all of the
text within the document that is not being colored by some other
element, such as a link. The default color for text is black.
Task 1b - Include the text attribute into “index.html”
<body bgcolor="#99999" text="#ffffff">
File and save, then preview in browser.
|