Easy Tutorial
❮ Prop Frame Src Event Onbeforeprint ❯

Frameset rows Attribute


Definition and Usage

The rows attribute sets or returns the number and size of rows in a frameset.

It defines the number and height of rows with a comma-separated list of pixels or percentages.

Syntax

The rows attribute can be one or more of the following values:

Value Description
pixels Row height can be specified in pixels (e.g., "100px" or "100")
% Row height can be specified as a percentage (e.g., "50%")
* Remaining available space

Browser Support

All major browsers support the rows attribute.


Example

In our example, we will create an HTML document with a frameset containing two rows, each set to 50% of the browser window:

The source code for "frame_rows.htm" is as follows:

Example

❮ Prop Frame Src Event Onbeforeprint ❯