HTML <frameset> rowsAttributes

HTML frameset 标签参考手册HTML <frameset> Tag

Examples

A three-row frameset:

<frameset rows="25%,*,25%">
  <frame src="frame_a.htm.html">
  <frame src="frame_b.htm.html">
  <frame src="frame_c.htm.html">
</frameset>

Try it Yourself »

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the rows attribute.


Definition and Usage

HTML5 does not support the <frameset> tag.

The rows attribute specifies the size and number of rows in a <frameset>.

The height of each frame is specified in the rows attribute in a comma-separated list.

Note:Once the number of values in the rows attribute is specified, the number of rows in the <frameset> is defined.


Syntax

<frameset rows="pixels|%|*">

Attribute Values

Value Description
pixels Specifies the row height in pixels (for example, "100px" or just "100").
% Specifies the row height as a percentage of the available space (for example, "50%").
* The remaining portion of the available space will be allotted to this row.


HTML frameset 标签参考手册HTML <frameset> Tag Other Extensions