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:
- pixels: The height of row is set in terms of pixels. Example: “50px” or “50”.
- %: The height of row is set in terms of percentage. Example “70%”.
- *: The height of row is set to all available space.
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> |
chevron_right
filter_none
Output:

Supported Browsers: The browser supported by HTML <frameset> rows Attribute are listed below:
- Google Chrome
- Internet Explorer
- Firefox
- Safari
- Opera
Recommended Posts:
- HTML | rows Attribute
- HTML | <textarea> rows Attribute
- HTML | DOM Textarea rows Property
- HTML | DOM Table rows Collection
- HTML | <html> xmlns Attribute
- HTML | for Attribute
- HTML | rel attribute
- HTML | <img> src Attribute
- HTML | alt attribute
- HTML | name Attribute
- HTML | low Attribute
- HTML | dir Attribute
- HTML | min Attribute
- HTML | max attribute
- HTML | <map> name Attribute
- HTML | <a> name Attribute
- HTML | <a> rel Attribute
- HTML | <li> value Attribute
- HTML | <bdo> dir Attribute
- HTML | value Attribute
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


