Obsolete in HTML5
This tag is obsolete in HTML5, so it's best to avoid using it.
frameset tag is used to separate the window into frames. For example, you can have a left frame for navigation and a right frame for the main content.
Frames are not supported in HTML 5 due to the usability issues that they have caused. Despite this, HTML 5 still allows the
Here are the details of the HTML
View the result
<frameset cols = "25%, *">
<body>Your browser doesn't support frames.
Therefore, this is the noframe version of the site.</body>
<frame src ="/html/tags/frame_example_left.html" />
<frame src ="/html/tags/frame_example_right.html" />
|Attributes specific to this tag:
|rows||Specifies the number of rows and their height in either pixels, percentages, or relative lengths. Default is 100%
|cols||Specifies the number of columns and their width in either pixels, percentages, or relative lengths. Default is 100%
|class||Document wide identifier.
|id||Document wide identifier
|title||Specifies a title to associate with the element. Many browsers will display this when the cursor hovers over the element (similar to a "tool tip").
|style||Inline style (CSS)
|onload||Intrinsic event (see event handlers)
|onunload||Intrinsic event (see event handlers)
The information on this page is based on HTML version 4.01. Most modern browsers now support HTML5, which is the next version of HTML after HTML 4.01.
Also see this list of HTML 5 tags for the latest version of HTML.