HTML <frameset> (Frameset Definition) Tag

❮ Previous Reference Next ❯

Deprecated: Not Supported in HTML5.

Example

<frameset rows="100,*">
  <frame name="contact" src="contact.html">
  <frame name="about" src="about.html">
  <noframes>
    <p>Sorry, this browser does not support frames.</p>
  </noframes>
</frameset>

Meaning

The <frameset> 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.

Version: HTML 4 and 4.01


Standard Syntax

<frameset>
  <frame name="text" src="URL">
  <frame name="text" src="URL">
  <noframes>
     text
  </noframes>
</frameset>



Browser Support




Status







Attributes

Attribute Value Description
cols pixels
%
*
Specifies the layout of horizontal frames. It is a comma-separated list of pixels, percentages, and relative lengths. The default value is 100%, meaning one row.
rows pixels
%
*
Specifies the layout of vertical frames. It is a comma-separated list of pixels, percentages, and relative lengths. The default value is 100%, meaning one column.



Global Attributes

<frameset> element also supports the Global Attributes in HTML.


Event Attributes

<frameset> element also supports the Event Attributes in HTML.


❮ Previous Reference Next ❯