previous |
start |
next
<BODY
ALINK=color
BACKGROUND=url
BGCOLOR=color
BGPROPERTIES=FIXED
CLASS=type
ID=value
LEFTMARGIN=n
LINK=color
STYLE=css1 properties
TEXT=color
TOPMARGIN=n
VLINK=color>
</BODY>
Specifies the beginning and end of the document body. This
element also allows you to set the background image, the
background color, the link colors, and the top and left
margins of the page. The end-tag is required.
- ALINK=color
- Specifies the color of the active hyperlink.
- BACKGROUND=url
- Specifies a background picture. The picture is tiled
behind the text and graphics on the page.
- BGCOLOR=color
- Sets the background color of the page. The color
can be either a hexadecimal, red-green-blue color value or
a predefined color name. See
Color.
- BGPROPERTIES=FIXED
- Specifies a "watermark," which is a background picture
that does not scroll. The background image remains fixed
behind any scrolling foreground information.
- CLASS=type
- Indicates the class to which the element belongs.
- ID=value
- Specifies a unique value for the element over the
document.
- LEFTMARGIN=n
- Specifies the left margin for the entire body of the
page and overrides the default margin. If set to zero, the
left margin will be exactly on the left edge.
- LINK=color
- Sets the color of hyperlinks that have not yet been
visited. The color can be either a hexadecimal,
red-green-blue color value or a predefined color name. See
Color.
- STYLE=css1
properties
- Specifies style information.
- TEXT=color
- Sets the color of text on the page. The color
can be either a hexadecimal, red-green-blue color value or
a predefined color name. See
Color.
- TOPMARGIN=n
- Specifies the margin for the top of the page and
overrides the default margin. If set to zero, the top
margin will be on the precise top edge.
- VLINK=color
- Sets the color of hyperlinks that have already been
visited. The color can be either a hexadecimal,
red-green-blue color value or a predefined color name. See
Color.
Examples
The HTML used to insert the background image of this page
is:
<BODY BACKGROUND="/ie/images/watermrk.gif" BGPROPERTIES=FIXED
BGCOLOR=#FFFFFF TEXT=#000000 LINK=#ff6600 VLINK=#330099>
<HTML><BODY>Here's a Web page!</BODY></HTML>
previous |
start |
next