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:
- 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 rows = "20%, 60%, 20%" >
< frame name = "top" src = "attr1.png" />
< frame name = "main" src = "gradient3.png" />
< frame name = "bottom" src = "col_last.png" />
</ frameset >
</ html >
|
Output:
Supported Browsers: The browser supported by HTML <frameset> rows Attribute are listed below:
- Google Chrome
- Internet Explorer
- Firefox
- Safari
- Opera
Last Updated :
28 May, 2019
Like Article
Save Article
Share your thoughts in the comments
Please Login to comment...