Open In App

HTML | <frameset> rows Attribute

The HTML <frameset> rows Attribute is used to specify the size and the number of rows in a frameset. The height of each frame is separated by a comma.

Syntax:



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

Attribute Values:

Note: The <frameset> rows Attribute is not supported by HTML 5.



Example:




<!DOCTYPE html>
<html>
  
<head>
    <title>HTML frameset rows Attribute</title>
</head>
  
<!-- frameset attribute starts here -->
<frameset rows="20%, 60%, 20%">
    <frame name="top" src="attr1.png" />
    <frame name="main" src="gradient3.png" />
    <frame name="bottom" src="col_last.png" />
</frameset>
<!-- frameset attribute ends here -->
  
</html>

Output:

Supported Browsers: The browser supported by HTML <frameset> rows Attribute are listed below:

Article Tags :