HTML 4 frameset Tag
Obsolete in HTML5
This tag is obsolete in HTML5, so it's best to avoid using it.
The HTML 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.
Also see:
- HTML
iframe
tag for inline frames - HTML
noframes
tag for how to deal with browser that don't support frames. - Frames templates for a quick and easy frames-based website.
Frames are not supported in HTML 5 due to the usability issues that they have caused. Despite this, HTML 5 still allows the <iframe>
tag.
Here are the details of the HTML frameset
tag:
Example
Attributes
Attributes specific to this tag: | |
---|---|
Attribute | Description |
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% |
Other Attributes: | |
Attribute | Description |
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) |
HTML5 Tags
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.