HTML - <frameset> Tag
Description
The HTML <frameset> tag is used to divide the window into frames. This tag is not supported in HTML5.
Example
<!DOCTYPE html>
<html>
<head>
<title>HTML frameset Tag</title>
</head>
<frameset cols = "200, *">
<frame src = "/html/menu.htm" name = "menu_page" />
<frame src = "/html/main.htm" name = "main_page" />
<noframes>
<body>
Your browser does not support frames.
</body>
</noframes>
</frameset>
</html>
This will produce the following result, refer the image given below. The left frame is menu.htm and the right one is main.htm −
Specific Attributes
The HTML <frameset> tag also supports the following additional attributes −
Attribute |
Value |
Description |
cols |
column size |
Specifies the number of columns and their width in either pixels, percentages, or relative lengths. Default is 100% |
rows |
row size |
Specifies the number of rows and their height in either pixels, percentages, or relative lengths. Default is 100%. |
Browser Support
Chrome |
Firefox |
IE |
Opera |
Safari |
Android |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
html_tags_reference.htm