![]() | ![]() |
This tag contains the body of the document. If a <HEAD> section is present the body must be placed after this section. |
![]() | |
ALINK![]() ![]() ![]() |
The color which is used to draw an active link on the page. An active link is
a link on which a mousebutton has been pressed down, but not yet released.
See the page Using colors for a description on specifying colors. |
BACKGROUND![]() ![]() ![]() ![]() |
Supply an image that is used as the background of the document. If the
document is larger than the image the image is tiled to fill up the used space.
You can use images in the GIF and JPEG format. If you use an transparent image the transparent parts will be shown in the background color. |
BGCOLOR![]() ![]() ![]() ![]() |
Sets the background color of the document. The default color for most browsers
is #C6C6C6.
See the page Using colors for a description on specifying colors. |
BGPROPERTIES![]() |
Possible value is FIXED. This creates a watermark, which is a background picture that does not scroll when the user scrolls down on the page. |
CLASS![]() |
Generic description of the CLASS attribute |
CREDITS![]() |
Use the credits attribute to set the URL of a page that will be displayed when
the viewer selects the credits button on the Info Panel.
You can use this page to give credit to your company, co-workers, and contributors, or for other information that you'd like viewers to see. Note that the viewer can display the Info Panel by selecting the info button in the Options Panel. |
FONTSIZE![]() |
Use the fontsize attribute to set the size to small, medium, and large. The value for the fontsize attribute overrides the size that the viewer can set in the WebTV Setup pages. The default value for fontsize is medium. |
HSPACE![]() |
Use the hspace attribute to set the horizontal fixed space around the body
content. The whole number value for hspace reserves that number of pixels for
the right margin and for the left margin. The default value for hspace is 8
pixels.
WebTV Networks does not recommend changing the value for hspace. Among other reasons, the WebTV interface uses the right and left margins for drawing the yellow Highlight rectangle, drawing the edges outside the content area when the selected text runs up against it. However, you can set hspace=0 on some web pages, such as splash screens, for a good visual effect. If you do change the hspace attribute, note that the new value will change only the content portion of your web page, not a sidebar. For other browsers the attribute LEFTMARGIN has the same result. |
ID
|
Generic description of the ID attribute |
INSTRUCTIONS![]() |
Use the instructions attribute to set the URL of a page that will be displayed
when the viewer selects the instructions button on the Info Panel.
You can use this page to explain features to viewers or for other information that you'd like viewers to see. Note that the viewer can display the info Panel by selecting the info button in the Options Panel. |
LEFTMARGIN![]() |
Specifies the left and right margin for the entire body of the page.
For the webtv browser the attribute HSPACE has the same result. |
LINK![]() ![]() ![]() |
The color which is used to draw a link on the page. The default color for most
browsers is #2222BB.
See the page Using colors for a description on specifying colors. |
LOGO![]() |
Use the logo attribute to set the URL of a logo image to use in place of the
thumbnail image for this page. Note that the thumb-nail image is used in such
places as the Favorites page and the Send Panel.
The size of the logo image is 70 by 52 pixels. Other size images are scaled to fit these dimensions. |
NOHTILEBG![]() |
Use the nohtilebg attribute to prevent the background image from tiling
horizontally. The background image will be displayed at the left margin,
repeated from the top of the page to the bottom, but without any horizontal
repeat. The color set with the bgcolor attribute colors the background from
the right edge of the image to the right margin.
Note that when the nohtilebg attribute is set, the background image does not scroll when the web page content scrolls. |
NOVTILEBG![]() |
Use the novtilebg attribute to prevent the background image from tiling
vertically. The background image will be displayed at the top of the page,
repeated from left to right, but without any vertical repeat. The color set
with the BGCOLOR attribute colors the background from the bottom edge of the
image to the top of the Title Bar.
Note that when the novtilebg attribute is set, the background image does not scroll when the web page content scrolls. |
ONBLUR![]() |
Specifies JavaScript code to execute when the window of the document loses focus. |
ONFOCUS![]() |
Specifies JavaScript code to execute when the window of the document acquires focus. The detection of getting the foces is not correct often the event is triggered by resizing the netscape window or changing focus to another application. |
ONLOAD![]() ![]() |
Specifies JavaScript code to execute when the document is loaded. This code will be executed after all the elements on the page have been loaded. |
ONUNLOAD![]() ![]() |
Specifies JavaScript code to execute when the document is exited. This occurs when the user leaves the current document. |
STYLE![]() |
Generic description of the STYLE attribute |
TEXT![]() ![]() ![]() |
The color which is used to draw normal text. The default color for most
browsers is black (#000000).
See the page Using colors for a description on specifying colors. |
TOPMARGIN![]() |
Specifies the margin for the top and bottom of the page. If there is
not enough room for the complete contents of the page plus two times the
margin, no margin will be used.
For the webtv browser the attribute VSPACE has the same result. |
VLINK![]() ![]() ![]() |
The color which is used to draw a visited link. The default color for most
browsers is black (#8822BB).
See the page Using colors for a description on specifying colors. |
VSPACE![]() |
Use the vspace attribute to set the vertical fixed space around the body
content. The whole number value for vspace reserves that number of pixels for
the top margin and for the bottom margin. The default value for vspace is 6
pixels.
WebTV Networks does not recommend changing the value for vspace. The WebTV interface uses the top margin for drawing the top of the yellow Highlight rectangle when the selected text is in the first line of the web page. Note that the WebTV interface will scroll up when the selected text is in the last line on the screen, allowing it to draw the Highlight rectangle. However, you can set vspace=0 on some web pages, such as splash screens, for a good visual effect. If you do change the vspace at-tribute, note that the new value will change only the content portion of your web page, not a sidebar. For other browsers the attribute TOPMARGIN has the same result. |
XSPEED![]() |
Use the xspeed attribute to set the speed for scrolling the background image
horizontally. Note that the web page content remains in place while the
background image moves.
The whole number value for xspeed is in pixels per second. The default value of xspeed is 0. xspeed=1 is a slow-motion scroll. xspeed=2 or xspeed=4 is for faster motion. |
YSPEED![]() |
Use the yspeed attribute to set the speed for scrolling the background image
vertically. Note that the web page content remains in place while the
background image moves.
The whole number value for yspeed is in pixels per second. The default value for yspeed is 0. yspeed=1 is a slow-motion scroll. yspeed=2 or yspeed=4 is for faster motion. |
![]() | ![]() |
Source: | <A HREF=BODY1.html>Take a look at the BODY example</A> |
Result: | Take a look at the BODY example |