HTML background
HTML background color
and how it blends with foreground text will make or break the layout and
overall look of your website. This isn’t rocket science, if you have a
blue back ground don’t make your text a variation of blue.
Unless there is a
serious reason for it your HTML background should be as inconspicuous as
possible. The HTML background can be a color or an image. Personally I
enjoy having a repeating text image as a background. Repeating text
images can be cool HTML backgrounds if done correctly.
The bgcolor attribute
specifies an HTML background color. Be sure to use a color from
the HTML color code. The value of the bgcolor attribute
can be
Ø
A hexadecimal number <body
bgcolor=”#000000”>.
Ø
RGB value <body bgcolor=rgb
(0, 0, 0)”>.
Ø
A color name <body
bgcolor=”black”>
The HTML background
attribute specifies a background-image for an HTML web page. A URL of
the image would be the value of the image you wanted to use. The URL of
the image can be relative or absolute as long as the image exists in the
specified location.
Ø
<body background=”fire.gif”>
Ø
<body background=http://www.yourURL.com/fire.gif>
Things to consider
when selecting an HTML background image are:
1)
What will the HTML
background image look like when it’s repeated on the page?
2)
How will the HTML background
image look against other images on the page?
3)
Will the HTML background
image look good with the text colors?
4)
Does the image dramatically
increase the loading time of the page?
5)
Will the HTML background
image overwhelm the website?
|