HTML and CSS Reference
HTML 4, 4.01
XHTML 1.0 (frameset DTD only)
Firefox 1+, Internet Explorer 2+,
Netscape 2+, Opera 4+, Safari 1+
• XHTML 1.0 requires a trailing slash for this element: <frame /> .
• A frame must be declared as part of a frame set, as set by using the <frameset> tag,
which specifies the frame's relationship to other frames on a page. A frame set
occurs in a special HTML document, in which the frameset element replaces the
body element. Another form of frames called independent frames , or floating frames ,
also is supported. Floating frames can be directly embedded in a document without
belonging to a frame set. These are defined with the iframe element.
• Many browsers do not support frames and require the use of the <noframes> tag.
• Frames introduce potential navigation difficulties; their use should be limited to
instances in which they can be shown to help navigation rather than hinder it.
• HTML5 currently does not include support for frames beyond <iframe> tags, but
even if the specification continues to avoid them, developers undoubtedly will
continue to use them.
<frameset> (Frameset Definition)
This element is used to define the organization of a set of independent window regions,
known as frames , as defined by the frame element. This element replaces the body element
in framing documents.
cols="list of columns"
id="unique alphanumeric identifier"
rows="list of rows"
Attributes Defined by Internet Explorer
bordercolor="color name | #RRGGBB" (4)
frameborder="no | yes | 0 | 1" (4)
lang="language code" (4)
hidefocus="true | false" (5.5)
unselectable="on | off" (5.5)