![]() | ![]() |
Container for denoting a document as a framed document. This means that the
page is constructed from more than one HTML document. A browser that supports
frames will show each HTML document in its own frame (window).
A frame document has no BODY becouse all the data comes inside the used frames. Inside this tag only the FRAMESET, FRAME and NOFRAMES tags are valid. The FRAMESET tag can be nested inside other FRAMESET tags. In this case the complete subframe is placed in the space that would be used for the corresponding frame if this had been a FRAME tag instead of a nested FRAMESET. It is possible to design a FRAMESET that will recurse infinitely stacking the same FRAMESET inside itself. Consider the following example: <FRAMESET rows="50%,50%"> <FRAME src=parents_url> <FRAME> </FRAMESET> This has been prevented. Any frame that attempts to assign its SRC url to be the same as the url of any of its ancestors will be treated as if it has no SRC url at all (basically a blank frame). |
![]() | |
BORDER![]() |
Give the frame a border of a number of pixels. |
BORDERCOLOR![]() |
Provides the option to display or not display a border for included frames. Possible values are YES and NO. |
COLS![]() ![]() |
This attribute determines the number of columns the frameset should have. A
frameset can have the COLS attribute or the ROWS attribute, but not both. The COLS attribute takes as its value a comma separated list of values that is of the exact same syntax as the list described for the ROWS attribute. |
FRAMEBORDER![]() |
Provides the option to display or not display a border for included frames. Possible values are YES and NO. |
FRAMESPACING![]() ![]() |
Creates additional space between frames. The value specifies a border of the supplied number of pixels around the frame. |
ONBLUR![]() |
Specifies JavaScript code to execute when the window containing the frameset loses focus. This means that it will be executed when you change the active window to another window than the one which contains the frameset. |
ONFOCUS![]() |
Specifies JavaScript code to execute when the window containing the frameset gets focus. This means that it will be executed when you change the active window to the window which contains the frameset. |
ONLOAD![]() |
Specifies JavaScript code to execute when the frameset is loaded. This code will be executed after the pages within the frameset have been fully loaded. |
ONUNLOAD![]() |
Specifies JavaScript code to execute when the frameset is unloaded. This code will be executed before you leave the page which contains the frameset. |
ROWS![]() ![]() |
This attribute determines the number of rows the frameset should have. A
frameset can have the COLS attribute or the ROWS attribute, but not both. The attribute takes as its value a comma separated list of values. These values can be absolute pixel values, percentage values between 1 and 100, or relative scaling values. The number of rows is implicit in the number of elements in the list. Since the total height of all the rows must equal the height of the window, row heights might be normalized to achieve this. A missing ROWS attribute is interpreted as a single row arbitrarily sized to fit. Syntax of value list :
|
![]() | ![]() |
Source: | Go and visit another <A HREF=FRAME1.html>framed</A> document. |
Result: | Go and visit another framed document. |