HTML 4.01 in Netscape and Explorer: Frames
Frames
Draw your borders
The frameset element
The frameset element is supported by both Netscape and Explorer as stated in the specification, however, you should check the limitation of multilength attribute values and the section on data types earlier for information on the accepted values of the rows and cols attributes. For more information on frames try our Framing the Web tutorial.
Additionally, Netscape and Explorer support the frameborder attribute, which accepts a value of yes or no (the default being yes), that specifies whether a border should be drawn around the frameset. The bordercolor attribute specifies the color of the border. Explorer additionally supports the framespacing attribute that accepts a value in pixels that adds extra spacing between frames or framesets and the border attribute sets the border width in pixels.
Sharing data among frames
The use of object elements to share data among frames is not supported by either browser.
The frame element
The frame element is supported as stated in the specification in both browsers with the exception of the longdesc attribute, which is ignored by both. The frameborder, bordercolor and border attributes are also recognized as described above in the section about the frameset element.
The target attribute
The target attribute is supported by both browsers as described in the specification. See the comments under frame targets in the section on data types for more information.
The noframes element
The contents of the noframes element are ignored by both browsers, so it's a good idea to follow the specification when including such an element in a frameset document.
The iframe element
Only Explorer supports the iframe element. As with frames, it ignores the longdesc attribute, and adds the frameborder, bordercolor and border attributes as described above. The align attribute accepts the same values as the align attribute on an img element, meaning that iframe elements can be floated or aligned with the text in all the supported ways, and also accepts hspace and vspace attributes like those supported by img.
All Rights Reserved. Legal Notices.
Created: Mar. 12, 1998
Revised: November 15, 2004