|
BODY - main part of document
Description :
The <BODY> tag specifies the
main part of the document. It is here that all the content should appear
(between the opening and closing <BODY>..</BODY>
tags). You can specify the background colour of the page, text colour, font
style etc..
Syntax
<BODY BACKGROUND="bgURL" BGCOLOR="color"
TEXT="color" LINK="color" ALINK="color" VLINK="color"
ONLOAD="loadJScode" ONUNLOAD="unloadJScode" ONBLUR="blurJScode"
ONFOCUS="focusJScode">
The UNIVERSAL ATTRIBUTES can be used with this tag.
Attributes
BACKGROUND specifies the location of the background image to
display or tile.
BGCOLOR specifies the background colour of the document being
displayed.
TEXT specifies the colour of normal (i.e. not link text) text.
LINK specifies the colour of unvisited links.
ALINK specifies the colour to which the link changes briefly to
when clicked. Once the ALINK colour has been displayed momentarily, it will
change to the VLINK colour if specified. If not, it will display the link in the
browsers default visited link colour.
VLINK specifies the colour of visited (clicked) links.
ONLOAD specifies the JavaScript code to be executed when the
page has loaded.
ONUNLOAD specifies the JavaScript code to be executed when the
page is left, and another link followed.
ONBLUR specifies the JavaScript code to be executed when the
window in which the dosument is displayed receives focus.
ONFOCUS specifies the JavaScript code to be executed when the
window in which the dosument is displayed loses focus.
The UNIVERSAL ATTRIBUTES can be used with this tag.
|