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 290194 of <frameset>

  • Revision slug: HTML/Element/frameset
  • Revision title: frameset
  • Revision id: 290194
  • Created:
  • Creator: ethertank
  • 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>

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>
<h3 id="Attributes">Attributes</h3>
<p>Like all other HTML elements, this element supports the <a href="/en/HTML/Global_attributes" title="en/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>
Revert to this revision