Tags: < body >


     The BODY tag may contain information for link colours, background colour or image, Java Script programs to load ... or as simple as < BODY >< /BODY >

Sample:

< body background="pics/bg99.jpg" bgcolor="#FFCCCC" text="#000099" alink="#FF3333" vlink="#FF00CC" link="#6699FF" >

Will produce a page as follows

BACKGROUND="pics/bg99.jpg"

text="#000099" ⇒ Normal Text

alink="#FF3333" ⇒ Active link colour

vlink="#FF00CC" ⇒ Visited link colour

link="#6699FF" ⇒ Unvisited link colour

bgcolor="#FFCCCC"

This is the background colour you would see
if there were no background image.




Parameters

Parameter=
"Variables"
Description
BGCOLOR
Any hexadecimal colour or named colour.
Sets the background colour of the page
TEXT
Any hexadecimal colour or named colour.
Sets the default colour for text.
ALINK
Any hexadecimal colour or named colour.
Sets the colour of any active link.
ie: A link you have open.
VLINK
Any hexadecimal colour or named colour.
Sets the colour of a link which has been visited
LINK
Any hexadecimal colour or named colour.
Sets the colour of a link.
BACKGROUND
Any image gif, bmp or jpg.
Uses the image as a tiled background.
ONLOAD   One example:  "top.window.focus()"
If several pages are opened this one goes on top
Can be used to preload pictures or start Java Script programs and more
ONCONTEXTMENU
return false
The left click menu is disabled. Try a left click on this page. May not work with all Browsers.
TOPMARGIN
0 or greater
Sets the top margin of the page.
Setting it to 0 will remove the default space on the top of the page.
BOTTOMMARGIN
0 or greater
Sets the bottom margin of the page.
RIGHTMARGIN
0 or greater
Sets the righthand margin of the page.
Setting it to 0 will remove the default space on the rightside of the page.
LEFTMARGIN
0 or greater
Sets the lefthand margin of the page.
Setting it to 0 will remove the default space on the leftside of the page.
BGPROPERTIES
fixed
The background will not scroll with text.
As on this page. Not for all browsers



OK now for a quick bit on the HEAD tag.
Click here   HEAD  
Page V


This is page 5 of
Learning HTML