English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML reference manual

HTML tag大全

HTML: <frameset> rows attribute

This article introduces the usage of the HTML frameset rows attribute, online examples demonstrate how to use the HTML frameset rows attribute, browser compatibility, syntax definition, and detailed information about its attribute values, etc.

 HTML <frameset> tag

Online Example

A three-row frame:

<frameset rows="25,%*,25%">
  <frame src="frame_a.htm">
  <frame src="frame_b.htm">
  <frame src="frame_c.htm">
</frameset>
Test it out ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

All major browsers support the rows attribute.

Definition and Usage

HTML5 The <frameset> tag is not supported.

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

The height of each frame is specified in the rows attribute separated by commas.

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

Syntax

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

Attribute Value

ValueDescription
pixelsSpecify the row height in pixels (for example "100px" or just "100").
%Specify the row height as a percentage of the available space (for example "50%").
*The remaining available space will be allocated to the row.
HTML <frameset> tag