HTML Tutorial - Example of Body Tag Attributes

With A Fixed Background

Back to Tutorial Page

The Html code for the body tag on this page looks like this:
<BODY BACKGROUND="grngrug800.jpg" BGCOLOR="#20B2AA"
TEXT="#000000" LINK="#0000FF" ALINK="#FF0000"
VLINK="#800080" BGPROPERTIES="fixed">
Please note that for demonstration purpose, I have over written the code so that the link will remain the correct color even after they has been visited.

The text on this page is black in color.

This is a link that will take you BACK to the previous page.

The same link BACK will appear purple in code after you have visited the linked page.

The appearance of the Active Link would look like this as you pressed on it: BACK

This additional text has been placed here to demonstrate how the background image on this page is set to "fixed" so that the background image will not scroll as you scroll down the page. To see the same page without the "fixed" background image, click here.


  Page 1 of 1  
Page added on 09-11-2001