Background and Colour Tags Home | Cheat Sheet |

These tags play an important role in the way your page looks and stands out. Changing the background and the colours of both the text and the links on a page can completely alter the atmosphere it creates.

The backround colour (or image) as well as the text and link colours have to be defined inside the <BODY> tag, not between the <BODY> and </BODY> tags.

Note: All the above colour and background declarations must all be in one single BODY statement.

Example: Click Here to see the example

<HTML>
<HEAD>
<TITLE>This is the title of the 2nd example</TITLE>
<BODY BGCOLOR="#00009C" TEXT="#FFFF00" LINK="#FF1CAE" VLINK="#FF1CAE">
When you look at the example this text should be yellow and the link should be pink on a blue background!
</BODY>
</HTML>

Prev | Top | Next |

Any Questions or Comments? E-Mail me!

rhduncan@hotmail.com
http://www.htmlguide.findhere.com Copyright © 1999 Robert Duncan