Latest web development tutorials

HTML frameset rows property

Tag Reference HTML frameset HTML <frameset> tag

Examples

A framework of three lines:

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

try it"

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support rows property.


Definition and Usage

HTML5 does not support the <frameset> tag.

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

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

Note: Once the specified number of rows attribute value, it defines the <frameset> number of rows.


grammar

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

Property Value

描述
pixels 规定行高度,以像素计(比如 "100px" 或者只是 "100")。
% 规定行高度,以可用空间的百分比计(比如 "50%")。
* 可用空间的剩余部分将会分配给该行。


Tag Reference HTML frameset HTML <frameset> tag