mozilla

Revision 53162 of <frameset>

  • Revision slug: HTML/Element/frameset
  • Revision title: frameset
  • Revision id: 53162
  • Created:
  • Creator: jswisher
  • Is current revision? No
  • Comment 6 words added, 4 words removed

Revision Content

Summary

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

Because of use of {{ HTMLElement("frame") }} element is discouraged and {{ HTMLElement("iframe") }} has become the preferred way to achive the same purpose, <frameset> is not used by modern web pages.

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

<h3>Summary</h3>
<p><code>&lt;frameset&gt;</code> is an HTML element which is used to contain {{ HTMLElement("frame") }} elements.</p>
<p>Because of use of {{ HTMLElement("frame") }} element is discouraged and {{ HTMLElement("iframe") }} has become the preferred way to achive the same purpose, &lt;frameset&gt; is not used by modern web pages.</p>
<h3>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>
<h3>Example</h3>
<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