This allows the division of the browser into multiple active windows and controls how each window is populated. The <body> tag is replaced with a <frameset> tag which contains all of the structure necessary to control the frames.
As well as the above, Microsoft in their Internet Explorer implements a second use of the <frame> tag. This implementation uses the <FRAME> tag without the customary <FRAMESET> enclosing container. They call this a "floating" frame. It must be included inside the opening and closing <BODY> tags. They suggest that the "topmargin" and "leftmargin" attributes to <BODY> be used to locate the frame in the browser window. I highly recommend that you examine MSIE's documentation (it is rather sparce) on the correct implementation of "floating frames".
MSIE 3.0 DTD lists four common attributes for this tag: "class=", "id=", "lang=, and "style=". However, <frame> is never used by itself -- it always includes the <body> tag where such attributes make more sense. It is possible that they are included in error. For that reason, they are not include here.
align=
deprecated
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
 |
0.9 |
1.2 |
|
|
|
|
|
| "absbottom"
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
|
|
| "absmiddle"
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
|
|
| "baseline"
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
|
|
| "bottom"
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
 |
0.9 |
1.2 |
|
|
|
|
|
| "center"
 |
0.9 |
1.2 |
|
|
|
|
WebTV is the only browser to support the "center' argument.
|
| "left"
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
 |
0.9 |
1.2 |
|
|
|
|
|
| "middle"
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
|
|
| "right"
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
 |
0.9 |
1.2 |
|
|
|
|
|
| "texttop"
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
|
|
| "top"
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
 |
0.9 |
1.2 |
|
|
|
|
|
border=
|
Any experiments that I performed could not get this attribute to work under the <frame> tag. However, it always (sort of) worked with <frameset> I have moved it to the <frameset> tag.
|
bordercolor=
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
 |
0.9 |
1.2 |
|
|
|
|
ostensibly sets the bordercolor to the value expressed as an argument. I have not been able to get this to work properly.
|
frameborder=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
 |
0.9 |
1.2 |
|
|
|
|
This suffered the same fate as "border=", above. Any attempt to get it to work at the frame level resulted in frustration. I have since moved it to the <frameset> page.
HTML 4.0 lists the "frameborder=" attribute with the <frame> tag. No time to experiment right now, perhaps soon.
|
| "1"
 |
0.9 |
1.2 |
|
|
|
|
This argument tells the browser to draw a "...separator between this frame and every adjoining frame.
|
| "0"
 |
0.9 |
1.2 |
|
|
|
|
This argument tells the browser to omit a border around this frame. However, be careful, if adjacent frames draw a border, the one with 'frameborder="0"' will still have a border. 'Frameborder="0"' must be explicitly set for all frames if borders are to be eliminated completely.
|
framespacing=
 |
1.0 |
2.0 |
3.0b1 |
4.0 |
|
|
creates additional space between frames in pixels. (Microsoft)
Note: Microsoft no longer supports floating frames using the <frame> tag. Use <iframe> instead.
|
height=
 |
1.0 |
2.0 |
3.0b1 |
4.0 |
|
|
This is a Microsoft attribute. It is used to adjust the size of the "floating frame" window. It takes pixels or percentage values as its arguments. (MSIE 3.0b1)
Note: Microsoft no longer supports floating frames using the <frame> tag. Use <iframe> instead.
|
hspace=
 |
1.0 |
2.0 |
3.0b1 |
4.0 |
|
|
This allows "floating frames" to have "margins" on the left and right sides. It takes pixels as its argument. (MSIE3.0b1)
Note: Microsoft no longer supports floating frames using the <frame> tag. Use <iframe> instead.
|
marginheight=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
 |
1.0 |
2.1 |
3.0 |
|
|
 |
0.9 |
1.2 |
|
|
|
|
Note: I do not think this is a correct attribute. Your assistance is requested to support or refute this. It won't work!
allows the author to control the height of the top and bottom margins. If this attribute is not present, the browser decides the appropriate margin size.
|
| "value" |
this is the only argument to the <marginheight> tag. It is expressed in pixels and has a minimum value of "1". The browser will decide the default. The maximum is dependant, again, on the resolution of the reader's screen and will not be accepted if there is no room left for the page contents.
|
marginwidth=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
 |
1.0 |
2.1 |
3.0 |
|
|
 |
0.9 |
1.2 |
|
|
|
|
Note: I do not think this is a correct attribute. Your assistance is requested to support or refute this.
this allows the setting of the left and right margins. Similar to "marginheight=", above, it prevents the page from touching the frame borders. The default is to allow the browser to establish the margins.
|
| "value" |
this is the only argument to the <marginheight> tag. It is expressed in pixels and has a minimum value of "1". The browser will decide the default. The maximum is dependant, again, on the resolution of the reader's screen and will not be accepted if there is no room left for the page contents.
|
name=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
 |
1.0 |
2.0 |
3.0b1 |
4.0 |
|
 |
1.0 |
2.1 |
3.0 |
3.0 |
|
 |
0.9 |
1.2 |
|
|
|
|
"The NAME attribute is used to assign a name to a frame so it can be targeted by links in other documents (Usually link from other frames in the same document. The NAME attribute is optional, and if omitted the window will be unnamed. There are certain reserved names (below) that are stipulated by Netscape in their definition. Otherwise a name can be any alpha-numeric name following normal HTML naming conventions.
Example of "name="
Note: this is a relatively elaborate example of a simple concept however, it is a valid test. Although each frame is popluated one at a time, all of the frames are populated when the structure is created. There are nine different *.htm[l] pages to make up this test.
|
| "_blank" |
load the file in a new unnamed window
|
| "_self" |
load in the same window
|
| "_parent" |
load in the parent window (if none use self)
|
| "_top" |
load in the top window (if none use self)
|
noresize
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
 |
1.0 |
2.1 |
3.0 |
|
|
 |
0.9 |
1.2 |
|
|
|
|
this attribute takes no argument. "It is just a flag to indicate that this frame is not resizable." (I. Graham) (By default, all frames are resizable). It should be noted that outsize borders will not resize.
|
onload=
 |
1.0 |
2.1 |
3.0 |
|
|
|
This event occurs when the browser is finished loading the window or all frames withing a frameset.
|
onunload=
 |
1.0 |
2.1 |
3.0 |
|
|
|
This event occurs when the browser unloads a given page from the window. It is typically rather brief so utility could be marginal, at best.
|
scrolling=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
 |
1.0 |
2.1 |
3.0 |
|
|
 |
0.9 |
1.2 |
|
|
|
|
describes whether a frame should have a scrollbar or not. This attribute is optional and if it is omitted, the default is "auto".
In "floating frames", the effect is the same.
|
| "yes"
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
forces the browser to display scrollbars on the side and bottom of the frame.
|
| "no"
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
stipulates that the browser should never put scrollbars on the frame.
|
| "auto"
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
|
This allows the browser to decide if there should be scrollbars or not.
|
| "src" |
displays the source file for the frame (Netscape & Microsoft)
|
src=
 |
+ |
2.0 |
3.0 |
3.2 |
4.0 |
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
 |
1.0 |
2.0 |
3.0 |
4.0 |
|
 |
1.0 |
2.1 |
3.0 |
|
|
 |
0.9 |
1.2 |
|
|
|
|
"Takes as its value the URL of the document to be displayed in this particular frame. Frames without SRC attributes are displayed as a blank space the size the frame would have been."Netscape
|
vspace=
 |
1.0 |
2.0 |
3.0b1 |
4.0 |
|
|
This allows "floating frames" to have "margins" on the top and bottom of the window. It takes pixels as its argument. (MSIE3.0b1)
Note: Microsoft no longer supports floating frames using the <frame> tag. Use <iframe> instead.
|
width=
 |
1.0 |
2.0 |
3.0b1 |
4.0 |
|
|
This is used by Microsft for its "floating frames". It will establish the width of the window and takes pixels or percentage values as its arguments. (MSIE3.0b1)
Note: Microsoft no longer supports floating frames using the <frame> tag. Use <iframe> instead.
|