Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 412793 of <frameset>

  • Revision slug: Web/HTML/Element/frameset
  • Revision title: <frameset>
  • Revision id: 412793
  • Created:
  • Creator: tregagnon
  • Is current revision? No
  • Comment

Revision Content

Summary

<frameset> is an HTML element which is used to contain {{HTMLElement("frame")}} elements.

Note: Because the use of frames is now discouraged in favor of using {{HTMLElement("iframe")}}, this element is not typically used by modern web sites.

Attributes

Like all other HTML elements, this element supports the global attributes.

{{htmlattrdef("cols")}}
This attribute is specify the number and size of horizontal spaces in a frameset.
{{htmlattrdef("rows")}}
This attribute is specify the number and size of vertical spaces in a frameset.

Example

<frameset cols="50%,50%">
  <frame src="https://developer.mozilla.org/en/HTML/Element/frameset" />
  <frame src="https://developer.mozilla.org/en/HTML/Element/frame" />
</frameset>

See also

  • {{HTMLElement("frame")}}
  • {{HTMLElement("iframe")}}

{{HTML:Element_Navigation()}}

Revision Source

<h2 id="Summary">Summary</h2>
<p><code>&lt;frameset&gt;</code> is an HTML element which is used to contain {{HTMLElement("frame")}} elements.</p>
<div class="note">
  <strong>Note:</strong> Because the use of frames is now discouraged in favor of using {{HTMLElement("iframe")}}, this element is not typically used by modern web sites.</div>
<h2 id="Attributes">Attributes</h2>
<p>Like all other HTML elements, this element supports the <a href="/en-US/HTML/Global_attributes" title="HTML/Global attributes">global attributes</a>.</p>
<dl>
  <dt>
    {{htmlattrdef("cols")}}</dt>
  <dd>
    This attribute is specify the number and size of horizontal spaces in a frameset.</dd>
  <dt>
    {{htmlattrdef("rows")}}</dt>
  <dd>
    This attribute is specify the number and size of vertical spaces in a frameset.</dd>
</dl>
<h2 id="Example">Example</h2>
<pre class="brush:html">
&lt;frameset cols="50%,50%"&gt;
  &lt;frame src="https://developer.mozilla.org/en/HTML/Element/frameset" /&gt;
  &lt;frame src="https://developer.mozilla.org/en/HTML/Element/frame" /&gt;
&lt;/frameset&gt;</pre>
<h2 id="See_also">See also</h2>
<ul>
  <li>{{HTMLElement("frame")}}</li>
  <li>{{HTMLElement("iframe")}}</li>
</ul>
<p>{{HTML:Element_Navigation()}}</p>
Revert to this revision