Spiga

I'ts Our Business Blog & Tutorials

,

Html Tutorial bgcolor

Adding a plain background color to your page is easy.

All you need to do is add a bgcolor property to the body tag:

body bgcolor="# FF0000"

As you see, the background color (#FF0000) is entered as a hexadecimal value.

While plain white and plain black are the most widely used colors on the net, there seems to be a trend moving towards slight variations of these.

The reason is that the sharp contrast between pure white or black and the text color might be less readable than a slightly faded white/black.

0 comments:

Your Ad Here

Contact us